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

Strange behavior with Vim over SSH when using mtm in TTY #57

Open
climbTheStairs opened this issue Dec 28, 2021 · 0 comments
Open

Strange behavior with Vim over SSH when using mtm in TTY #57

climbTheStairs opened this issue Dec 28, 2021 · 0 comments

Comments

@climbTheStairs
Copy link

In a horizontally-split mtm session in the Linux TTY, when I SSH into a remote server and edit a file with Vim, some actions (such as deleting lines, undoing deleting lines, and toggling syntax highlighting) cause the display to be incorrect (wrong lines being shown to be deleted, deleted text not being erased, overlapping text, etc).

These are all problems with the display; the content of the Vim buffer would still be correct, though it is displayed incorrectly. Forcing Vim to redraw itself (opening a new tab (:tabe) and closing it) would usually fix the display.

This did not occur when I tested this:

  • In an X session (rather than a TTY) with a terminal emulator (st)
  • With the same file on the local machine (i.e. not using SSH)

I unable to consistently reproduce this and unsure how to debug this, but is there anyone who has experienced similar problems, or more knowledge about terminals who knows a possible cause of this?

My local computer is Arch Linux and the remote server is Debian 11 (bullseye).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant