[Top] [All Lists]

mhl linewrapping

2022-05-21 05:34:01

The linewrapping in mhl is not realy good and I would like to implement
some improvements.

First of all it depends on the terminalsize, if the size is not given by
the arguments. This leads to diffrent linewrapping on reply depending on
the size of the terminal. This could be fixed by going to some default
width when stdout is not a tty.

Next it only supports hard linewrapping. Therefor sometimes words and
links get split. Some support for softwrapping would be nice. So mhl
could search for the last whitespace befor the selected width.

What do you think about this?


<Prev in Thread] Current Thread [Next in Thread>