diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-03-13 21:51:37 -0400 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2024-04-18 01:03:33 +0200 |
commit | abc0b0e8c9f238fd2b41dc8349b367bc83361972 (patch) | |
tree | b232b9081018dd78bffaf3e791c0c4cf260b9195 | |
parent | 7c6bb9c37bbaa4ab9bd5f5111660b9085bd8a925 (diff) | |
download | mpv-abc0b0e8c9f238fd2b41dc8349b367bc83361972.tar.bz2 mpv-abc0b0e8c9f238fd2b41dc8349b367bc83361972.tar.xz |
terminal-unix: style fix
-rw-r--r-- | osdep/terminal-unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c index faa11e0a2f..c487886c11 100644 --- a/osdep/terminal-unix.c +++ b/osdep/terminal-unix.c @@ -341,12 +341,12 @@ static void do_activate_getch2(void) enable_kx(true); struct termios tio_new; - tcgetattr(tty_in,&tio_new); + tcgetattr(tty_in, &tio_new); tio_new.c_lflag &= ~(ICANON|ECHO); /* Clear ICANON and ECHO. */ tio_new.c_cc[VMIN] = 1; tio_new.c_cc[VTIME] = 0; - tcsetattr(tty_in,TCSANOW,&tio_new); + tcsetattr(tty_in, TCSANOW, &tio_new); getch2_active = 1; } |