So this happens some times, not always.I'll write a really long command and I'll be satisfied with it wrapping around at the edge like so:What I don't like to happen however is, after increasing the size of the window, if i write a new long command or go back in my command-history to my previously long command it will word-wrap in a way that destroys readablity, like so:http://youtu.be/XnbmdqWzxyUArchLinux Linux kernel: 3.17.6-1xterm version: 314-1bash version: 4.3.030-1
Why does xterm/bash word-wrap even tho window is large to fit command
bash;xterm
This is likely a readline thing. Addset horizontal-scroll-mode onto your readline configuration (usually ~/.inputrc) and restart the shell or re-read the configuration (usually using Ctrl+X Ctrl+R).If not, then you are out of luck, I'm afraid - the terminal is usually meant to do exactly that, i.e. once the data gets too big, if wraps and gets displayed on a new line.