0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.2179: pressing "q" at the more prompt doesn't stop Python output

Problem:    Pressing "q" at the more prompt doesn't stop Python output. (Daniel
            Hahler)
Solution:   Check for got_int in writer(). (closes #5053)
            Also do this for Lua.
This commit is contained in:
Bram Moolenaar
2019-10-19 15:18:44 +02:00
parent 15ee567809
commit b98678a974
3 changed files with 14 additions and 6 deletions

View File

@@ -1612,7 +1612,8 @@ luaV_print(lua_State *L)
lua_pop(L, 1);
}
luaL_pushresult(&b);
luaV_msg(L);
if (!got_int)
luaV_msg(L);
return 0;
}