Home GnuPG

curses: Handle control-u, control-w and alt-backspace.
d3c52a144b5bUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

curses: Handle control-u, control-w and alt-backspace.

* pinentry/pinentry-curses.c (dialog_input): Take additional argument,
alt.  Update callers.  If passed control-u, erase the whole line.  If
passed alt-backspace or control-w, erase any white space the the
previous word.
(dialog_run): Detect when alt is pressed.

Details

Provenance
nealAuthored on May 16 2015, 10:33 PM
Parents
rP1d3583a2562e: secmem: Clear the buffer before returning it from secmem_malloc.
Branches
Unknown
Tags
Unknown