public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Closing the Command Prompt using the "x" button doesn't update shell history file
@ 2022-03-23 19:11 Mitchell Hentges
  2022-03-24  8:33 ` Takashi Yano
  0 siblings, 1 reply; 5+ messages in thread
From: Mitchell Hentges @ 2022-03-23 19:11 UTC (permalink / raw)
  To: cygwin

To reproduce the issue:
1. Run Cygwin.bat to open a Cygwin shell in the "Command Prompt" terminal
2. Run some command, such as "echo test"
3. Click the Windows "x" button in the top-right corner of the terminal

The terminal closes, but `$HOME/.bash_history` is not updated to include
the "echo test" command.
Interestingly, when using mintty, the shell history is indeed saved when
the "x" button is pressed.

-- 
Mitchell Hentges
Engineering Workflow
Mozilla

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

end of thread, other threads:[~2022-04-27 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 19:11 Closing the Command Prompt using the "x" button doesn't update shell history file Mitchell Hentges
2022-03-24  8:33 ` Takashi Yano
2022-03-24 15:56   ` Brian Inglis
2022-03-24 20:07   ` Andy Koppe
2022-04-27 14:09   ` Takashi Yano

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).