Skip to content

Add auto wordwrap for StdoutProxy #1483

Open
@AnzhiZhang

Description

@AnzhiZhang

When I using Windows Terminal run cmd, run this code:

from prompt_toolkit.patch_stdout import patch_stdout

with patch_stdout():
	for i in range(100):
		print('a' * i)

If characters are too many longer than one line, extra part will be cut.

There is expected behavior

There is actual behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions