From 5b25c9a78cbbb9130c522544c71f273608ff021d Mon Sep 17 00:00:00 2001 From: Daniel Maslowski Date: Sat, 20 Aug 2022 00:41:43 +0200 Subject: [PATCH] i_input_tty: also try /dev/tty0 --- fbdoom/i_input_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbdoom/i_input_tty.c b/fbdoom/i_input_tty.c index 7e09b4a..95e1b60 100644 --- a/fbdoom/i_input_tty.c +++ b/fbdoom/i_input_tty.c @@ -277,7 +277,7 @@ void kbd_shutdown(void) static int kbd_init(void) { struct termios new_term; - char *files_to_try[] = {"/dev/tty", "/dev/console", NULL}; + char *files_to_try[] = {"/dev/tty", "/dev/tty0", "/dev/console", NULL}; int i; int flags; int found = 0;