microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.96k stars 8.35k forks source link

On keypress or output, openconsole should scroll down like conhost #18073

Open 0wwafa opened 1 month ago

0wwafa commented 1 month ago

Windows Terminal version

1.22.2702.0

Windows build number

10.0.19045.5011

Other Software

cmd.exe bash.exe (wsl1)

Steps to reproduce

get some output from dir or from ls -alR so that the windows scrolls. then scroll up then write anything. conhost.exe scrolls to the input line. openconsole.exe does not.

also, if a program outputs data while you are "scrolled up", conhost scrolls down.

This is a matter of taste and preference and If I where you I would put a flag in the Terminal scrolling section.

Expected Behavior

Scroll to the last line on keypress or on output.

Actual Behavior

The scroll stays where it is.

I repeat: this is not a big deal... and it's a matter of taste.. but I would put the flag in the preferences.

djukic-marko commented 1 month ago

also, if a program outputs data while you are "scrolled up", conhost scrolls down.

I like the way it works now. When I'm debugging software that writes a lot to the console, and I scroll up to see relevant output, I don’t like my focus being changed because the software output more information."

0wwafa commented 1 month ago

also, if a program outputs data while you are "scrolled up", conhost scrolls down.

I like the way it works now. When I'm debugging software that writes a lot to the console, and I scroll up to see relevant output, I don’t like my focus being changed because the software output more information."

Latest version ( https://github.com/microsoft/terminal/releases/tag/v1.22.2912.0 ) scrolls down on program output....

@lhecker @carlos-zamora but still does not scroll down on keypress.. only if pressing CR