From: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH v1 0/3] util/readline.c: Add common but missing shortcuts
Date: Thu, 13 Jun 2024 11:06:10 +0300 [thread overview]
Message-ID: <readline-shortcuts-v1.1718265822.manos.pitsidianakis@linaro.org> (raw)
Some commonly used readline shortcuts are missing from our
implementation. This series adds:
- Control-n next line, same as Down arrow key
- Control-p previous line, same as Up arrow key
- Control-u erase line starting from cursor
Manos Pitsidianakis (3):
util/readline.c:fix lints for readline_handle_byte
util/readline.c: add C-n, C-p shortcuts
util/readline.c: add C-u shortcut
util/readline.c | 35 +++++++++++++++++++++++++++++++----
1 file changed, 31 insertions(+), 4 deletions(-)
base-commit: f3e8cc47de2bc537d4991e883a85208e4e1c0f98
--
γαῖα πυρί μιχθήτω
next reply other threads:[~2024-06-13 8:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-13 8:06 Manos Pitsidianakis [this message]
2024-06-13 8:06 ` [PATCH v1 1/3] util/readline.c:fix lints for readline_handle_byte Manos Pitsidianakis
2024-06-13 8:06 ` [PATCH v1 2/3] util/readline.c: add C-n, C-p shortcuts Manos Pitsidianakis
2024-06-13 8:06 ` [PATCH v1 3/3] util/readline.c: add C-u shortcut Manos Pitsidianakis
2024-06-13 13:08 ` [PATCH v1 0/3] util/readline.c: Add common but missing shortcuts Marc-André Lureau
2024-06-18 10:40 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=readline-shortcuts-v1.1718265822.manos.pitsidianakis@linaro.org \
--to=manos.pitsidianakis@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).