Redraw issues in tmux #412

Open
opened 2018-01-14 02:57:09 +01:00 by josvanr · 2 comments
josvanr commented 2018-01-14 02:57:09 +01:00 (Migrated from github.com)

Hi, I've been using crt for a couple of days and I think its glorious! Because it has no tabs to switch between multiple terminals, I tried using tmux inside crt for that. But unfortunately, there seem to be an issue with redrawing the screen when using tmux & crt.

'clear' and 'reset' don't clear the screen; but the cursor does move to the top of the screen. Also, the screen doesnt seem to refresh when multiple lines have to be drawn at a time. Please check out the following files, and what happens when I 'cat' them to the screen, one after the other: (the A's should be overwritten, but they stay visible):

a file with lines and empty lines inbetween (displayed in vim):
x

a file with filled lines (displayed in vim):
x1

first cat the file with filled lines:
catx1

then cat the file that contains the empty lines inbetween: in lines that should be empty, the A's are still visible:
catx

only when I resize the window a bit, the screen is redrawn correctly:
resized

so yes, this doesnt happen when i do the catting in crt directly (without tmux). It also happens in konsole, the same way. So I thought tmux was the problem. But the problem doesnt happen in xterm and gnome terminal. So yes, where should I file my bug report?. ;)

Jos

Hi, I've been using crt for a couple of days and I think its glorious! Because it has no tabs to switch between multiple terminals, I tried using tmux inside crt for that. But unfortunately, there seem to be an issue with redrawing the screen when using tmux & crt. 'clear' and 'reset' don't clear the screen; but the cursor does move to the top of the screen. Also, the screen doesnt seem to refresh when multiple lines have to be drawn at a time. Please check out the following files, and what happens when I 'cat' them to the screen, one after the other: (the A's should be overwritten, but they stay visible): a file with lines and empty lines inbetween (displayed in vim): ![x](https://user-images.githubusercontent.com/35400537/34911948-f0781c64-f8d4-11e7-9e14-9d5117c52ef0.png) a file with filled lines (displayed in vim): ![x1](https://user-images.githubusercontent.com/35400537/34911953-fcbfc3e6-f8d4-11e7-8710-8703a5858c3a.png) first cat the file with filled lines: ![catx1](https://user-images.githubusercontent.com/35400537/34911955-03e3f390-f8d5-11e7-986c-293e39f3e4d8.png) then cat the file that contains the empty lines inbetween: in lines that should be empty, the A's are still visible: ![catx](https://user-images.githubusercontent.com/35400537/34911958-0b0515be-f8d5-11e7-9d55-2a59b433cc19.png) only when I resize the window a bit, the screen is redrawn correctly: ![resized](https://user-images.githubusercontent.com/35400537/34911959-1048045a-f8d5-11e7-8dd9-c1321dbabdac.png) so yes, this doesnt happen when i do the catting in crt directly (without tmux). It also happens in konsole, the same way. So I thought tmux was the problem. But the problem doesnt happen in xterm and gnome terminal. So yes, where should I file my bug report?. ;) Jos
josvanr commented 2018-01-14 03:05:29 +01:00 (Migrated from github.com)

hello

I just found a fix that worked for someone who was having the same issue with konsole/tmux. The fix also works with cool retro term/tmux. Don't know if you will be needing this but it is here:

https://github.com/tmux/tmux/issues/1228

Jos

hello I just found a fix that worked for someone who was having the same issue with konsole/tmux. The fix also works with cool retro term/tmux. Don't know if you will be needing this but it is here: https://github.com/tmux/tmux/issues/1228 Jos
SDoradus commented 2018-03-28 06:50:55 +02:00 (Migrated from github.com)

As a workaround I was able to disable the status line in tmux and it seems to have solved the issue.
I used set status off, you can either bind a hotkey to show/hide it, or personally I just use c-w to bring up a switching menu.

You can also apply this to a running tmux session with c-b : and then typing the command.

As a workaround I was able to disable the status line in tmux and it seems to have solved the issue. I used `set status off`, you can either bind a hotkey to show/hide it, or personally I just use `c-w` to bring up a switching menu. You can also apply this to a running tmux session with `c-b :` and then typing the command.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#412
No description provided.