Re: reverse video in PS1 breaks command line editing
On Mon, Oct 03, 2011 at 02:20:26AM -0400, d...@cs.cmu.edu wrote: > PS1="\e[7m\h:\w>\e[0m " You forgot to put \[ ... \] around the non-cursor-moving escape sequences.
reverse video in PS1 breaks command line editing
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA