zsh-users
 help / color / mirror / code / Atom feed
* Colored-character displayed on CTRL-C ?
@ 2013-09-23 17:37 Larry Schrof
  2013-09-23 19:26 ` Phil Pennock
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Larry Schrof @ 2013-09-23 17:37 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

Recent versions of bash have this very nifty feature where, when you hit CTRL-C to terminate a command line and get a new prompt on a new line, something like ^C with a yellow background is displayed to help remind you that the command is not actually executed.

With my vision impairment, simply using the event number in my shell prompt is not sufficient. I'd really like ideas on the best way to tell zsh to display a character with a yellow background on CTRL-C, followed by taking me to a new prompt on the next line.

I'm speculating this would start by setting up a trap on the right signal?

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

end of thread, other threads:[~2013-09-24  6:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-23 17:37 Colored-character displayed on CTRL-C ? Larry Schrof
2013-09-23 19:26 ` Phil Pennock
2013-09-23 21:10   ` Phil Pennock
2013-09-24  2:58     ` Bart Schaefer
2013-09-23 20:02 ` Bart Schaefer
2013-09-23 22:00   ` Phil Pennock
2013-09-24  6:24     ` Bart Schaefer
2013-09-23 21:36 ` Hauke Petersen

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).