From aea2e2cb126bf92e729b88013fd03b55ee4b3399 Mon Sep 17 00:00:00 2001 From: Pavel Platto Date: Wed, 16 Apr 2014 09:21:19 +0300 Subject: Removed mch_input_isatty --- src/os_unix.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/os_unix.c') diff --git a/src/os_unix.c b/src/os_unix.c index 6743b1a993..4a32d77d8c 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -182,16 +182,6 @@ void mch_init() event_init(); } -/* - * Return TRUE if the input comes from a terminal, FALSE otherwise. - */ -int mch_input_isatty() -{ - if (isatty(read_cmd_fd)) - return TRUE; - return FALSE; -} - static int get_x11_title(int test_only) { return FALSE; -- cgit