Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim interface broken, new line on every keypress #97

Open
jonaskuske opened this issue Oct 9, 2018 · 9 comments
Open

vim interface broken, new line on every keypress #97

jonaskuske opened this issue Oct 9, 2018 · 9 comments
Labels
bug Something isn't working

Comments

@jonaskuske
Copy link

When using vi/vim, a new line is created on every keypress instead of overriding the current one(s).
So writing "Hi" looks like this:

~
H
~
Hi
~

The 'static interface' at the bottom (mode, filename, cursor position etc.) is duplicated as well every time, which pushes everything else up and out of the window - so before you scroll, you don't even see what you've written. Here is a GIF showing the issue:

fluentissue

Editing using nano works without problems and vim in Hyper also works flawlessly.

I'm using WSL (Ubuntu) on Windows 1809

@hanskokx
Copy link
Contributor

hanskokx commented Oct 9, 2018 via email

@felixse
Copy link
Owner

felixse commented Oct 10, 2018

Is this the released version (0.2.0.0) or current master? Also, did it work before updating to 1809?

@jonaskuske
Copy link
Author

The released version.
Can't say if it worked on 1803, all my devices are on 1809 and I first installed FluentTerminal after the feature update.

@felixse
Copy link
Owner

felixse commented Oct 11, 2018

This seems be fixed with the latest master. Probably the WinPTY update from #95

Edit: Or maybe not, failed to reproduce this with 0.2.0.0. So this needs further investigation

@felixse felixse added bug Something isn't working Fixed in next release This is already fixed and will be included in the next release and removed Fixed in next release This is already fixed and will be included in the next release labels Oct 11, 2018
@Riebart
Copy link
Contributor

Riebart commented Oct 12, 2018

I have had this crop up on me from time to time outside of vim, but not in any reproducible way. A new tab in the same window does not experience this issue when it rears its head in one of my tabs. I can confirm it's a thing, but can't offer any details to point to a cause.

@ad-on-is
Copy link

Same here, just had this problem outside of vim.
After restarting FluentTerminal the problem persisted in the starting tab, while opening a new tab, did not have this kind of issue.

Prior to that I noticed that FT used 900MB of memory, which may be caused by the large log-outputs I'm monitoring during web-development with Docker. I've set the scrollback limit to 999999.

Maybe this helps.

image

@StiviiK
Copy link

StiviiK commented Apr 2, 2019

Similar issues when using nano

@nicohouillon
Copy link

nicohouillon commented Nov 27, 2020

in VI, if I want to move my cursor up/down it would print out character : A or B . I f I move right/left , then it print out C or D .
only when I am in edition mode in VI , after having pressed "I" or "A" .

@nicohouillon
Copy link

ok, set nocompatible in ~/.vimrc fixed my problem above, still it was working fine in Windows Terminal Preview without this setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants