Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Colored-character displayed on CTRL-C ?
- X-seq: zsh-users 17990
- From: Larry Schrof <larrys@xxxxxx>
- To: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Subject: Colored-character displayed on CTRL-C ?
- Date: Mon, 23 Sep 2013 17:37:20 +0000
- Accept-language: en-US
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=from : to : subject : date : message-id : content-type : mime-version; s=facebook; bh=Wo9/T4owk4LxqBLuO026NI/9iCTSmuB9idYoBHujB1Q=; b=nIEQYU0JyKF6t810SgpFMtLlAWhRGFLa8rOH6Nk7hs4vZJZkbme5yrpoUuxZJUYuqFFn Ns06K4H480Ad7grr84ZsDAEzkroAzdnKcUHsLvYwOGUCvOsGHQWEoB25IujSR4lR55+t IZkL96g8KlZq3uhINR99qyAWw5ayVxCY4fI=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Thread-index: AQHOuIOO+XJIMAWoP0SNBUwK2HTBxw==
- Thread-topic: Colored-character displayed on CTRL-C ?
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author