terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Cursor blinking snaps the viewport back to the bottom

Open DHowett-MSFT opened this issue 7 years ago • 12 comments

I just updated to 0.2.1831.0 in 18950.1000. In an Ubuntu shell (now WSL 2), I can't scroll back the buffer. It looks like the flashing cursor is pulling the focus back to the bottom line every time I try to scroll up with both the keyboard and the mouse wheel.

It also looks like a new line is sent on every scroll up too, so the text I want to see gets further away on each attempt!

Powershell and Dos windows do not do this

Originally posted by @tomfakes in https://github.com/microsoft/terminal/issues/1375#issuecomment-517422583

DHowett-MSFT avatar Aug 01 '19 19:08 DHowett-MSFT

And of course, a reboot fixed it.

This might be a WSL problem, as I'd just upgraded my Ubuntu to WSL 2.

tomfakes avatar Aug 01 '19 19:08 tomfakes

Ah shoot. I was really curious what was causing that. I'd be really shocked if it was a WSL problem if it worked in conhost ("powershell" and "dos" windows) but not the Terminal.

Was there a particular shell or program you were running that caused the behavior to start?

I guess if it's not repro'ing anymore we'll need to close this, but we can always re-open if we get a lead.

zadjii-msft avatar Aug 01 '19 19:08 zadjii-msft

hello I have the problem too at the version 0.3.2142.0 download in win store In cmd/WSL/PowerSheel it doesn't work well

using key map to scroll works using wheel not

I've reboot macnhie and softare both,and reinstall win Termibal could not solve it

BrightSoulXYHY avatar Aug 03 '19 07:08 BrightSoulXYHY

This may be a different issue altogether, in that case please let me know and I will open a separate issue. But one case where I cannot scroll is with an application like poolmon from the Windows WDK that takes up the entire screen buffer while it's running. Under the normal Windows 10 terminal, I can scroll through it with the scrollbar and the scroll wheel but using Windows Terminal 0.3.2142.0, there is no scrollbar and using the scroll wheel does not do anything either.

adrianghc avatar Aug 03 '19 12:08 adrianghc

Currently running on Microsoft Windows [Version 10.0.18362.239], Windows Terminal 0.3.2142.0 The scrolling gesture on my laptop trackpad is not working on the Terminal.

TayYuanGeng avatar Aug 04 '19 01:08 TayYuanGeng

The last 3 comments all sound like #979, so I'll redirect y'all to that thread.

zadjii-msft avatar Aug 08 '19 17:08 zadjii-msft

I saw that issue but mine is different because it is unrelated to touchpad usage, under my scenario scrolling doesn't work even with mouse or keyboard.

adrianghc avatar Aug 08 '19 17:08 adrianghc

@adrianghc Can you file a new issue then? Preferably with screenshots :)

zadjii-msft avatar Aug 08 '19 17:08 zadjii-msft

@zadjii-msft Done. #2364

adrianghc avatar Aug 08 '19 20:08 adrianghc

We never got a lead on this, I think, and the repro disappeared. Closing. Feel free to ping me to reopen if it's not covered elsewhere.

DHowett-MSFT avatar Aug 16 '19 04:08 DHowett-MSFT

Unplugging my USB microphone and plugging it back in fixed this for me. Weird I know. This was occurring on Terminal 1.25.3131.0 and it reminded me of a similar persistent Chrome UI bug that prevents me from dragging tabs unless I reset the USB device (Audio Technica Microphone - AT2020)

robusto avatar Nov 30 '26 00:11 robusto

Hm. I have an AT2020 at home so should be able to test this. However, please file a new issue - this one was closed seven entire years ago.

DHowett avatar Nov 30 '26 04:11 DHowett