diff options
author | Pavel Platto <hinidu@gmail.com> | 2014-04-16 09:21:19 +0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-20 10:37:52 -0300 |
commit | aea2e2cb126bf92e729b88013fd03b55ee4b3399 (patch) | |
tree | 581420b130e9896eff3d8dc0d4ec4d9aa74ae183 /src/main.c | |
parent | a848fad656505c44983b606d7b484869b33dac56 (diff) | |
download | rneovim-aea2e2cb126bf92e729b88013fd03b55ee4b3399.tar.gz rneovim-aea2e2cb126bf92e729b88013fd03b55ee4b3399.tar.bz2 rneovim-aea2e2cb126bf92e729b88013fd03b55ee4b3399.zip |
Removed mch_input_isatty
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index e5958e74a6..b2295ea0be 100644 --- a/src/main.c +++ b/src/main.c @@ -8,6 +8,7 @@ #define EXTERN #include <string.h> +#include <stdbool.h> #include "vim.h" #include "main.h" @@ -1624,9 +1625,8 @@ static void handle_tag(char_u *tagname) */ static void check_tty(mparm_T *parmp) { - int input_isatty; /* is active input a terminal? */ - - input_isatty = mch_input_isatty(); + // is active input a terminal? + bool input_isatty = os_isatty(read_cmd_fd); if (exmode_active) { if (!input_isatty) silent_mode = TRUE; |