mirror of
https://github.com/mborgerson/xemu.git
synced 2025-12-01 16:10:01 +00:00
osdep: add qemu_set_tty_echo()
Using stdin with readline.c requires disabling echo and line buffering. Add a portable wrapper to set the terminal attributes under Linux and Windows. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
committed by
Kevin Wolf
parent
0150cd81cf
commit
13401ba0b9
@ -240,4 +240,6 @@ static inline void qemu_init_auxval(char **envp) { }
|
||||
void qemu_init_auxval(char **envp);
|
||||
#endif
|
||||
|
||||
void qemu_set_tty_echo(int fd, bool echo);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user