aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-10-10 11:11:04 +0000
committerWerner Koch <[email protected]>2006-10-10 11:11:04 +0000
commit2e8481c03bceef8d009ea30b40c3e1674cfc9e93 (patch)
tree03469588ff8e79f7c2cc28300cc133c9e89c69d1 /g10/keyedit.c
parentMake it also work for the card. (diff)
downloadgnupg-2e8481c03bceef8d009ea30b40c3e1674cfc9e93.tar.gz
gnupg-2e8481c03bceef8d009ea30b40c3e1674cfc9e93.zip
Various changes
Diffstat (limited to '')
-rw-r--r--g10/keyedit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index 71ad9f083..d01bbbc59 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -1620,7 +1620,9 @@ keyedit_menu( const char *username, strlist_t locusr,
}
if( !have_commands )
{
+#ifdef HAVE_LIBREADLINE
tty_enable_completion(keyedit_completion);
+#endif
answer = cpr_get_no_help("keyedit.prompt", _("Command> "));
cpr_kill_prompt();
tty_disable_completion();