felixse / FluentTerminal

A Terminal Emulator based on UWP and web technologies.
GNU General Public License v3.0
9.21k stars 443 forks source link

inaccurate cursor position #934

Open crowtrobot opened 3 years ago

crowtrobot commented 3 years ago

First let me say thank you. FluentTerminal is the only thing making my forced migration to windows bearable.

The problem: Sometimes the cursor shown on screen doesn't move, but the actual cursor does. Moving up and down seems to work, it's moving horizontally that the displayed cursor and actual cursor can get out of sync. For example, when editing a file in emacs, move a few letters or an entire word into a line the cursor stays in the first column, but if you type a letter, it isn't added to the first of the line. The cursor suddenly jumps and the letter is added there. I have seen it in other programs too (vi, and nano), but I have only been able to reproduce it consistently in emacs.

Steps to reproduce:

Where you would expect the cursor to move one letter at a time to the right, it just sits stuck to the left edge of the screen. After pressing the right arrow something between 5 and 10 times the cursor will jump that far into the line and then move as you expect for a while, but if you go up or down it will again seem to stick in that spot. If you type something you will see that the text isn't inserted where the cursor is displayed, so it did move but doesn't look like it did.

hanskokx commented 3 years ago

Hey @crowtrobot, thanks for the high regards! I'm glad it's helping ease your transition into Windows-land.  (I'm not here to start an OS war, but truthfully, Windows isn't as bad as it was back in the Vista days.  Windows 10 really does have a LOT going for it....but that's a totally different conversation.)

There have been some display issues in the past, and I think most of them have been fixed by disabling ConPty.  Head into settings > general, and scroll all the way to the bottom.  Be sure to kill the tray process, then re-launch and see if that helps.

crowtrobot commented 3 years ago

Thanks. I'm sure most of the problems I am having with windows I would have with anything that isn't what I'm familiar with.

I turned off ConPty, closed all Fluent Terminal windows, and started a new one. The cursor behaves the same. I'm not sure what ConPty does so maybe I am not looking for the right thing, but I don't see any difference at all. I don't have to reboot for that setting do I?

hanskokx commented 3 years ago

No, you shouldn't have to.  We might need @felixse to jump in with further advice.

— Hans Kokx On 7/12/2021 11:55:01 AM, crowtrobot @.***> wrote: Thanks. I'm sure most of the problems I am having with windows I would have with anything that isn't what I'm familiar with. I turned off ConPty, closed all Fluent Terminal windows, and started a new one. The cursor behaves the same. I'm not sure what ConPty does so maybe I am not looking for the right thing, but I don't see any difference at all. I don't have to reboot for that setting do I? — You are receiving this because you commented. Reply to this email directly, view it on GitHub [https://github.com/felixse/FluentTerminal/issues/934#issuecomment-878395091], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AAOSY32H4TQMVNLE7W75W5DTXMF5LANCNFSM5ADEAGZA].