diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-08-12 15:04:28 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-08-28 14:18:05 -0300 |
commit | 5b7a66ec3dc4d5130ee8de2c958ce917bc248702 (patch) | |
tree | 4346d7a590715946b7f0d1f09485f097daa55357 /src/nvim/term.c | |
parent | a1400896b3e458ede63507b6efe20c32736a6729 (diff) | |
download | rneovim-5b7a66ec3dc4d5130ee8de2c958ce917bc248702.tar.gz rneovim-5b7a66ec3dc4d5130ee8de2c958ce917bc248702.tar.bz2 rneovim-5b7a66ec3dc4d5130ee8de2c958ce917bc248702.zip |
api: Implement '--embedded-mode' command-line option
This option makes nvim run in "embedded mode", which creates an API channel via
stdin/stdout and disables all terminal-related code
Diffstat (limited to 'src/nvim/term.c')
-rw-r--r-- | src/nvim/term.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/term.c b/src/nvim/term.c index 36e433d624..d2c524e2e8 100644 --- a/src/nvim/term.c +++ b/src/nvim/term.c @@ -2360,6 +2360,9 @@ void set_shellsize(int width, int height, int mustset) */ void settmode(int tmode) { + if (embedded_mode) { + return; + } if (full_screen) { /* |