GNU bug report logs - #51475
read-char-choice should hide the cursor

Previous Next

Package: emacs;

Reported by: ndame <laszlomail <at> protonmail.com>

Date: Fri, 29 Oct 2021 05:26:02 UTC

Severity: normal

Tags: moreinfo, wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: ndame <laszlomail <at> protonmail.com>
Cc: 51475 <at> debbugs.gnu.org
Subject: bug#51475: read-char-choice should hide the cursor
Date: Fri, 29 Oct 2021 15:06:27 +0200
ndame <laszlomail <at> protonmail.com> writes:

> Since it only reads a single character, the cursor is unnecessary and unsightly
> in the prompt:
>
> (read-char-choice " a - good\n b - bad\n c - ugly" '(?a ?b ?c))

But it looks nice in

(read-char-choice " a - good; b - bad; c - ugly: " '(?a ?b ?c))

We could hide it if the prompt is multi-line, I guess?  Anybody got an
opinion?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.