Merge pull request #3 from orangecms/master

i_input_tty: also try /dev/tty0
This commit is contained in:
Maxime Vincent 2022-08-20 08:08:09 +00:00 committed by GitHub
commit 912c51c4d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ void kbd_shutdown(void)
static int kbd_init(void) static int kbd_init(void)
{ {
struct termios new_term; 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 i;
int flags; int flags;
int found = 0; int found = 0;