• Marc Cornellà's avatar
    Switch off line wrapping in case dots occupy extra line · b42efeb8
    Marc Cornellà authored
    This commit uses the (hopefully) standard rmam and smam escape sequences
    which toggle off and on line wrapping respectively.
    
    This is so that extra dots that don't fit the current line won't be
    displayed in the next line, which would in turn make the shell
    display a new prompt on the next line after the dots are hidden.
    
    I've added a check for $terminfo rmam and smam values to be sure we have
    them before printing them out.
    
    If this commit breaks something post an issue with your terminal
    emulator and $TERM value and we'll figure out what went wrong.
    b42efeb8
Name
Last commit
Last update
cache Loading commit data...
custom Loading commit data...
lib Loading commit data...
log Loading commit data...
plugins Loading commit data...
templates Loading commit data...
themes Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
MIT-LICENSE.txt Loading commit data...
README.markdown Loading commit data...
oh-my-zsh.sh Loading commit data...