diff options
Diffstat (limited to 'login-utils/chfn.c')
-rw-r--r-- | login-utils/chfn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/login-utils/chfn.c b/login-utils/chfn.c index d79a192cf..3a951a193 100644 --- a/login-utils/chfn.c +++ b/login-utils/chfn.c @@ -237,6 +237,7 @@ static char *ask_new_field(struct chfn_control *ctl, const char *question, printf("%s [%s]: ", question, def_val); __fpurge(stdin); #ifdef HAVE_LIBREADLINE + rl_bind_key('\t', rl_insert); if ((buf = readline(NULL)) == NULL) #else if (getline(&buf, &dummy, stdin) < 0) |