hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Invasive "ln" character in (neo)vim when using WSL/Hyper

Open rmreq opened this issue 9 years ago • 9 comments

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10
  • Hyper.app version: Latest
  • Link of a Gist with the contents of your .hyper.js:
  • Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere):
  • The issue is reproducible in vanilla Hyper.app: Yes

Issue

Hi, I've encountered a strange issue when trying to use vim on Windows WSL using Hyper. For some reason it prints "ln" in the margins, and sometimes in the white space following the last character of a line. Here's a sample: hyper_vim I resized the window before capturing it, which made the "ln"s invade my buffer more aggressively, but that's generally what it looks like.

This behavior does not occur in the standard WSL terminal.

Also, vim in Hyper on WSL doesn't respect my theme settings, but that's unrelated. I've been trying to document issues I encounter on windows because I'd really like to use Hyper more regularly. Please don't register any issues I post as a complaint; I know how much work is is to maintain cross platform software, and I wish I were able to contribute more. Just wanted to bring it to your attention. Thanks.

rmreq avatar May 30 '17 00:05 rmreq

Update: The issue starts when I scroll past the last visible line, at which point my powerline-bar starts traveling up the page, followed by ln-characters. It's confined to the right side of the screen until I scroll back up, at which point it spreads to the end of lines as shown in the original post. Here's a sample from just after the problem appears: vim 2

rmreq avatar May 30 '17 01:05 rmreq

+1

neolectron avatar Jun 06 '17 08:06 neolectron

This happens for me also but only when I have exited regular Vim inside TMUX.

Entering/exiting Vim without TMUX doesn't produce this error.

tmuxerror

notrab avatar Jun 15 '17 14:06 notrab

Ok I narrowed this down to be an issue with vim-airline for my use case.

notrab avatar Jun 15 '17 15:06 notrab

Did somebody fix this issue? I'm also getting this weird bug

ruie avatar Aug 13 '17 15:08 ruie

Damn this is obscure, didn't know if anyone else would have hit it haha. Looks like I'm getting the same thing every so often. It does seem to be airline leaving things behind. If I do a ctrl+p lookup, airline pops up to about the middle of the screen and then when it drops down after I open the file it leaves these hanging where it was.

jesseobrien avatar Sep 07 '17 01:09 jesseobrien

Also seeing this with vim-airline on my linux machine. In my case seems to happen when the status line gets an update from ALE lint results. screenshot from 2018-01-03 12-33-03

(edit) - should note that this happens in both TMUX and normal sessions. ¯_(°o)/¯

jeffcato avatar Jan 03 '18 17:01 jeffcato

I have a very similar issue also using neovim and tmux. The weird background noise of the "ln"

screen shot 2018-04-13 at 11 24 21 am

rcgalbo avatar Apr 13 '18 16:04 rcgalbo

closing as this is for v2 and earlier, please try the latest build from ci and open a new issue if you face this problem with the new build.

LabhanshAgrawal avatar Feb 04 '21 08:02 LabhanshAgrawal