public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Issue with mintty: title not updated when background process exists
@ 2020-04-01 11:07 Luc Henninger
  2020-04-01 12:20 ` Thomas Wolff
  0 siblings, 1 reply; 6+ messages in thread
From: Luc Henninger @ 2020-04-01 11:07 UTC (permalink / raw)
  To: cygwin

Hello,

I have defined the PS1 variable as follow
PS1='\[\e]0;\w\a\]\[\e[32m\]\u@\h \[\e[35m\]\w\[\e[0m\]\n\$ '
so that the cur dir is set as title of the window.

This generally work for both mintty or cmd.
But after the sequence
   Luc@Mulan ~
   $ emacs &
   [1] 371
   Luc@Mulan ~
   $ cd bin
   Luc@Mulan ~/bin
   $
the title of the mintty widow remain to "~".

The same sequence with cmd window change the title to "~/bin"

The title is correctly updated only after I close emacs and push a 
return to the main window.

Any explanation? Thanks
Regards

-- 
Luc.Henninger@orange.fr    +33 6 32 96 32 27


-- 
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-04-01 21:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 11:07 Issue with mintty: title not updated when background process exists Luc Henninger
2020-04-01 12:20 ` Thomas Wolff
2020-04-01 12:24   ` Thomas Wolff
2020-04-01 19:44     ` Luc Henninger
2020-04-01 20:21     ` Luc Henninger
2020-04-01 21:54       ` Thomas Wolff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).