Menu

#82 Scrolling behaviour on window resize

v1.0 (example)
closed
nobody
None
5
2020-01-18
2019-10-10
No

Hi!

First off I would like to say that mlterm has really been a godsend on my search for an IME-supporting terminal. I tried so many terminals before and they all had some kind of issue with IME, only mlterm works flawlessly!

I noticed however that the behaviour when resizing mlterm is a bit unorthodox. When I have a very long log and resize xterm and mlterm they act differently:

xterm (3 lines high)

 1          \
 2           * content of log (invisible)
 3          /
[4      ]   \
[5      ]    * current screen
[6      ]   /

xterm (resize to 5 lines):

 1
[2      ]   \
[3      ]   * line 2 and 3 become visible
[4      ]
[5      ]
[6      ]

mlterm:

 1
 2
 3
[4      ]
[5      ]
[6      ]

mlterm (resize to 5 lines)

 1
 2           \
 3           * line 2 and 3 are still invisible
[4      ]
[5      ]
[6      ]
[       ]
[       ]

Xterm automatically scrolls up, so that I can see as much of the log as possible, while the effect of resizing an mlterm window with bash running results in new empty lines, so that I have to scroll manually . This is especially cumbersome when switiching fast between two windows in a tiling window manager.

I am aware that this is an extremly minor issue, but it is quite noticeable in my workflow. Is this something that can potentially be fixed? I also had a look in the man pages, but did not find any flag that could change this.

Best regards,
Max

Discussion

  • Maximilian Claus

    Yes! I can confirm the behaviour is exactly like xterm now.

    Thank you so much! I can use mlterm as my everyday terminal now! :)

     
  • Araki Ken

    Araki Ken - 2020-01-18
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB