Skip to content

Support disabling option "wrap text output on resize" #546

@ahauan4

Description

@ahauan4

I'm used to have the "wrap text output on resize" option disabled for cmd.exe in Windows 10/11.
clink_wrap_text_output_on_resize

If the command line text is shorter than the window width, everything works fine:
clink_1_1_ok

But if the window gets resized shorter than the command line and then POS1 and END is pressed, the cursor does not jump to the end of the line (and the scrollbar not to the right) but instead the cursor jumps to the end of the visible line:
clink_1_2_pos1_end

If I then try to add some new text to the end, the resulting command line text gets messed up.
Here how it looks like after making the window wide enough and pressing END:
clink_1_3_newtext

With "wrap text output on resize" enabled (default), everything works fine.
image

Am I doing something wrong or is disabling "wrap text output on resize" not supported by clink?

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalThe issue is due to external causes outside of Clink

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions