aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-06-09 08:40:24 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2017-11-25 09:37:00 +0100
commit5af47031773fc647de867444693d1598d0da458d (patch)
tree5ffc630accb7945c69c0b051768283fac664cf1b /src/nvim/main.c
parent90e5cc5484ceeb410ae2a2706e09ed475cade4a5 (diff)
downloadrneovim-5af47031773fc647de867444693d1598d0da458d.tar.gz
rneovim-5af47031773fc647de867444693d1598d0da458d.tar.bz2
rneovim-5af47031773fc647de867444693d1598d0da458d.zip
channels: stderr channel
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 9059644fc0..aa57913f7c 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -297,7 +297,7 @@ int main(int argc, char **argv)
assert(p_ch >= 0 && Rows >= p_ch && Rows - p_ch <= INT_MAX);
cmdline_row = (int)(Rows - p_ch);
msg_row = cmdline_row;
- screenalloc(false); /* allocate screen buffers */
+ screenalloc(false); // allocate screen buffers
set_init_2(headless_mode);
TIME_MSG("inits 2");
@@ -310,8 +310,9 @@ int main(int argc, char **argv)
/* Set the break level after the terminal is initialized. */
debug_break_level = params.use_debug_break_level;
- bool reading_input = !headless_mode && (params.input_isatty
- || params.output_isatty || params.err_isatty);
+ bool reading_input = !headless_mode
+ && (params.input_isatty || params.output_isatty
+ || params.err_isatty);
if (reading_input) {
// One of the startup commands (arguments, sourced scripts or plugins) may