Open amosbird opened 3 years ago
Does afb020a292ce7feb0363b3ed1fdc6a3ac337d7b3 improve your experience?
Does afb020a improve your experience?
Unfortunately nope. Nothing changed.
Do you call install_window_change_handler()
in the client in the beginning?
install_window_change_handler()
That works!
There is one tiny issue left. After resizing, syntax highlighting gets lost. I have to input some actions such as moving cursors around to get it back.
Just found another issue. When doing terminal shrink, replxx rerenders current line but somehow in a new line, with one line duplicated. Here is the screencast describing the issue http://oracle.wentropy.com/b5decbe52268770c
Current master should fix color issue. But I haven't read your edit before I started working on syntax highlighting.
Current master should fix color issue.
Awesome
But I haven't read your edit before I started working on syntax highlighting.
That just means you're super productive :)
I can reproduce duplicated line issue only in tmux, raw terminals do not show this problem.
I can reproduce duplicated line issue only in tmux, raw terminals do not show this problem.
Hmm, what does that imply? I thought tmux should obey the terminal standard.
Hmm, what does that imply? I thought tmux should obey the terminal standard.
I do not know yet.
Ok, most terminals express this behavior (also GNU screen), the only unaffected terminals I found are xterm
and rxvt
derivatives (running without any terminal multiplexer).
When terminal gets resized, clickhouse-client (an replxx application) fails to render the display correctly unless it resets the current replxx-state. I wonder if there is any example I can refer to.