Hi,
I have two issues that tie into each other. The first is very similar issue to #82 but on the other axis; when I shrink mlterm horizontally, the right border "eats" up the text as expected but when I enlarge it again, the text doesn't come back and the background is shown instead.
My second issue is that when I have a very long line which exceeded the window bounds when it was printed, it got automatically reflowed over multiple lines to fit the window as expected. However, when I enlarge the terminal afterwards, the long line stays wrapped and doesn't reflow to make use of the additional space given to the terminal.
Ideally mlterm would reflow lines dynamically on any horizontal resize action. This would resolve both of these issues as lines going beyond the terminal bounds after shrinking it wouln't need to be "eaten" and would be reflowed to fit the smaller window instead. Lines that have previously been wrapped (either because the windows was shrunk or wasn't large enough in when the lines was printed) would gradually unwrap themselves as the terminal bounds grow.
For reference, rxvt implements this behaviour.
OS is nixos-unstable@83451174b82.
mlterm version 3.9.0
Features: otl implugin imagelib(builtin) utmp
Hi, thanks for your report.
Mlterm now supports your request.
Please try https://github.com/arakiken/mlterm/archive/master.zip
(It is not completely compatible to rxvt-unicode, but I think it generally works fine.)
If you find strange behavior, I would like you to send me a script to reproduce it.
Sample script is http://mlterm.sf.net/mlterm-resize-test.sh
Regards,
Hi!
Thank you so much for the fix!
I can confirm that dynamic resizing is working and output is not being eaten up by horizontal resizing anymore.
As you mentioned it isn't quite perfect, there are three minor issues I have noticed:
I can sadly not provide repro scripts for 1. as I'm not aware of control sequence magic that allows you to scroll the terminal's log but here is one that shows the effect of 1. and what I believe is the same bug as 3.:
Since my original concern has been addressed though, I'd consider this issue resolved; I'm no longer losing the terminal log when my window manager tiles mlterm.
Thank you so much for all your hard work, mlterm is by far the best terminal emulator I've ever used!
Hi,
Now I fixed the issue 1.
https://github.com/arakiken/mlterm/archive/master.zip
Thanks.
I fixed to at least make the script work correctly.
I'd like you to test https://github.com/arakiken/mlterm/archive/master.zip
But it is quite difficult to solve the problem 1 soon.
Mlterm assumes that the data in the backlog doesn't need to be edited,
thereby simplifies the implementation (bidi, opentype layout and so on).
Major design change is necessary to rewap lines in the backlog.
Regards,
Hi,
I can confirm that the bugs highlighted by my repro script have been fixed. Thank you!
While playing around however, I managed to get the lines to scroll up again by printing long lines in a small window and then scaling it up.
Repro for the new bug variant:
Thanks,