author | Sebastian Harl <sh@tokkee.org> | |
Sat, 19 Jul 2014 12:06:33 +0000 (14:06 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 19 Jul 2014 12:06:33 +0000 (14:06 +0200) | ||
commit | 498c6c0d39c932b38a6ba1641119c0b5f97d1399 | |
tree | 2c8ca5d77f47e7cfe03505b3439b9c865354f25d | tree | snapshot |
parent | 52fd6fa603286c39f3b4e8b5e3f28b13d5265949 | commit | diff |
sysdb: Use non-callback readline mode when non-interactive.
libedit's implementation of the callback-mode does not play well in
non-interactive mode (e.g. it does not correctly detect EOF) but works fine
when using readline().
Also, there's no need for the somewhat more complex callback mode in
non-interactive operation anyway.
libedit's implementation of the callback-mode does not play well in
non-interactive mode (e.g. it does not correctly detect EOF) but works fine
when using readline().
Also, there's no need for the somewhat more complex callback mode in
non-interactive operation anyway.
src/tools/sysdb/input.c | diff | blob | history | |
src/tools/sysdb/input.h | diff | blob | history |