Issue with the titlebar

Mark J. Reed markjreed@gmail.com
Wed Aug 12 16:21:00 GMT 2009


Putting title-setting escape sequences in PS1 has the unfortunate side
effect that the shell thinks that it has output those characters, and
shrinks the length of the line readline has to work with by that
amount.

A better option is to define PROMPT_COMMAND to echo the appropriate sequence.


-- 
Mark J. Reed <markjreed@gmail.com>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list