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

Clock updates going to wrong screen position in irssi/screen #621

Closed
dcolascione opened this issue Jun 9, 2018 · 3 comments
Closed

Clock updates going to wrong screen position in irssi/screen #621

dcolascione opened this issue Jun 9, 2018 · 3 comments

Comments

@dcolascione
Copy link
Contributor

dcolascione commented Jun 9, 2018

When running irssi inside screen, updates occasionally go to the wrong place in the screen buffer. See the attached screenshots. Note that the timestamp in the "wrong" copy of the time string is later than the timestamp in the correctly-positioned time string. In other terminal emulators (pictured here, alacritty) connected to the same screen session, the irssi-screen combination doesn't misplace the clock.

kitty
alacritty

@kovidgoyal
Copy link
Owner

Run kitty with --dump-bytes, do the minimum you can to reproduce the error and post the bytes log.

@dcolascione
Copy link
Contributor Author

Cool debugging feature. Logs attached. The first incorrect clock update is 11:10.
kitty-bug.log
kitty-bug.bytes.log

@kovidgoyal
Copy link
Owner

Yeah, it's an absolute necessity to have when writing a terminal emulator, there are so many different escape codes and so much inconsistent behavior. I'm a little busy at the moment, I will take a look at the dumps later.

metayan pushed a commit to metayan/kitty that referenced this issue Jun 11, 2018
…s bar in irssi when used inside screen.

Fixes kovidgoyal#621. The cursor in margin check was incorrect causing upwards
movement of the cursor when below the bottom margin to be incorrect.
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

2 participants