diff options
| -rw-r--r-- | common/terminal.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/common/terminal.c b/common/terminal.c index a46ff14..bcd843d 100644 --- a/common/terminal.c +++ b/common/terminal.c @@ -201,7 +201,7 @@ int terminal_set_keyboard(int vt, bool enable) {  		log_errorf("could not generate tty path: %s", strerror(errno));  		return -1;  	} -	int res = ioctl(fd, KDSKBMODE, enable ? K_OFF : K_OFF); +	int res = ioctl(fd, KDSKBMODE, enable ? K_ON : K_OFF);  	close(fd);  	if (res == -1) {  		log_errorf("could not set KD keyboard mode: %s", strerror(errno)); | 
