Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Stop putting newline character (and ellipsis) to break long lines #300
...in both output and commandline editor.
In fact terminal emulators handle long lines by themselves though sometimes in a different way.
When I use bash, resizing terminal reformats the output. Which is nice.
As for me I prefer the bash behavior in this case in all the cases. I propose to switch to it where it is possible.
Agreed. (I was the OP on the mailing list thread relating to this.) I appreciate that the ellipsis gives a visual cue of the split, but I think its better to let the terminal emulator handle this so as to make copy/paste work cleanly. The point about window resizing is also a good one.
There's still a lot of issues around window resizing, in particular fast window resizing (though many of those issues were present in the original fish). I speculate that the issue is that the SIGWINCH signal gets delivered during a repaint, causing inconsistent rendering and general weirdness.
Commit 6b026e3 improves the situation a bit, and I think we're at parity with fish 1.x for resizing.