summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-03-13 21:51:37 -0400
committerKacper Michajłow <kasper93@gmail.com>2024-04-18 01:03:33 +0200
commitabc0b0e8c9f238fd2b41dc8349b367bc83361972 (patch)
treeb232b9081018dd78bffaf3e791c0c4cf260b9195 /osdep
parent7c6bb9c37bbaa4ab9bd5f5111660b9085bd8a925 (diff)
downloadmpv-abc0b0e8c9f238fd2b41dc8349b367bc83361972.tar.bz2
mpv-abc0b0e8c9f238fd2b41dc8349b367bc83361972.tar.xz
terminal-unix: style fix
Diffstat (limited to 'osdep')
-rw-r--r--osdep/terminal-unix.c4
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;
}