marker icon indicating copy to clipboard operation
marker copied to clipboard

Selection Bug

Open floscr opened this issue 9 years ago • 10 comments

When trying to select something the screen doesn't clear

iTerm 2.1.1 OSX 10.10.2 Python 2.7.8 zsh 5.0.5 (x86_64-apple-darwin14.0)

floscr avatar May 29 '15 11:05 floscr

Hmm, it seems that the code responsible for clearing the screen is not working correctly in iTerm. I'll look into it as soon as I get hold on an OSX.

pindexis avatar May 31 '15 10:05 pindexis

Actually, this seems like an iterm bug. an ANSI escape code used for moving cursor vertically isn't working. I've filled an issue https://gitlab.com/gnachman/iterm2/issues/3617

pindexis avatar Jun 17 '15 09:06 pindexis

I have the same issue... Currently it is useless for me :( Well, I'll wait for iterm2 to update...

simonweil avatar Sep 06 '15 16:09 simonweil

I had the same issue right after I installed. I don't have the issue again today. I'm on iTerm 2.1.4

A colleague of mine does with the same version. Are you sure it is iTerm related ?

CaptainQuirk avatar Nov 06 '15 12:11 CaptainQuirk

I see that iterm 2.9 beta has been released which according to the author should fix the problem. https://www.iterm2.com/downloads.html

pindexis avatar Dec 30 '15 11:12 pindexis

I'm getting a similar issue with konsole 17.04.3, in ubuntu 17.10 64b and bash 4.4.12 I solved it by changing the escape sequence for ERASE_SCREEN to ERASE_SCREEN = "\x1b[2J".

Since it's a different form of this bug it could be a good thing to keep a note of.

magpie514 avatar Feb 11 '18 03:02 magpie514

I'm getting a similar issue with konsole 17.04.3, in ubuntu 17.10 64b and bash 4.4.12 I solved it by changing the escape sequence for ERASE_SCREEN to ERASE_SCREEN = "\x1b[2J".

Since it's a different form of this bug it could be a good thing to keep a note of.

Hello, same bug for me and I'm not sure to understand where you changed the definition for erasing the screen. Any clue? Thanks, Philippe

loirotte avatar Oct 25 '18 18:10 loirotte

@loirotte Sorry! Didn't see your message until now. You have to go to line 5 in ansi.py (well it used to be line 5, I stopped using marker in favor of my own homebrewn tldr processor so it might be a bit out of date) and change ERASE_SCREEN to "\x1b[2J" (should be "\x1b[J" by default, just add the "2"). I hope that solves it for you.

magpie514 avatar Oct 29 '18 05:10 magpie514

@hetdegon Thanks you your answer! It improves the display, but do not correct all issues. Sorry for my question, it finally seems obvious, but for some strange reason, I didn't look at the right place. I'm still searching for the whole solution, I will post if I find it!

loirotte avatar Oct 29 '18 19:10 loirotte

same issue here with konsole/qterminal/cool-retro-term... only work with xterm and real terminal... may be it's a qt bug...

ERASE_SCREEN = "\x1b[1J" is better... (but still not solved)

@pindexis i don't have the issue with qfc... any idea on this ?

intika avatar Apr 17 '19 04:04 intika