From d7e18b5c9591da967b707ee4219f1f8789edc175 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 12 Jan 2015 10:14:52 -0500 Subject: Revert "[WIP] "abstract_ui" fixes and improvements" --- src/nvim/ex_docmd.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/nvim/ex_docmd.c') diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index b794ced428..3661a65b11 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -71,7 +71,6 @@ #include "nvim/os/time.h" #include "nvim/ex_cmds_defs.h" #include "nvim/mouse.h" -#include "nvim/msgpack_rpc/channel.h" static int quitmore = 0; static int ex_pressedreturn = FALSE; @@ -5399,16 +5398,10 @@ static void ex_stop(exarg_T *eap) /* * Disallow suspending for "rvim". */ - if (!check_restricted()) { - if (!eap->forceit) { + if (!check_restricted() + ) { + if (!eap->forceit) autowrite_all(); - } - - if (abstract_ui) { - channel_close(last_message_source); - return; - } - windgoto((int)Rows - 1, 0); out_char('\n'); out_flush(); -- cgit