Open brosky opened 5 years ago
What ssh client do you use? What is your terminal environment variable, "env|grep -i term" ? Can you attach a screenshot of the messed screen please?
I see this in logs:
Apr 16 18:32:17 sshgw-cj Aker: SSHClient ERROR - global name 'get_console_dimensions' is not defined
I'll attach later a screenshot too. I've recorded with asciinema a sample wrong wrapping, but on the screen looks wrong and the recording is fine :)
Hmm, interesting. Please share all data above to check.
Hi @anazmy, I had the same issue with the terminal resize on i3. It seems you are using a signal (SIGWINCH) to catch a window resize. It seems this signal is not always sent, or working. As I saw on this example : https://github.com/sirosen/paramiko-shell/blob/master/interactive_shell.py you could check the terminal size on each iteration without much over cost (it seems). I implemented it on my aker version and all seems to work well since then.
Steps to reproduce: