diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 21:33:12 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 21:33:12 -0800 |
commit | a7139a6b1462458487c8a416f521ceaf94aa604f (patch) | |
tree | e260996d90544caff0f0a28a416713c9df2f801d | |
parent | da76ec44f1211ad49ab0700bda647bfe523d5093 (diff) | |
download | teliva-a7139a6b1462458487c8a416f521ceaf94aa604f.tar.gz |
clean up after the editor
Even though we don't need to leave ncurses mode, there's still a process boundary to clean up before.
-rw-r--r-- | src/lua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua.c b/src/lua.c index d7939bf..e062746 100644 --- a/src/lua.c +++ b/src/lua.c @@ -414,6 +414,7 @@ void switch_to_editor (lua_State *L, const char *message) { edit(L, Script_name, message); else browseImage(L); + cleanup_curses(); execv(Argv[0], Argv); /* never returns */ } |