tvi: call term_done() even if ex_init() fails - neatvi - [fork] simple vi-type editor with UTF-8 support
(HTM) git clone git://src.adamsgaard.dk/neatvi
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit edaafb4c0b7285982922d36a1e8b671e3d679691
(DIR) parent 20373644dfc266d53328c220466e3abdd0a4284a
(HTM) Author: Ali Gholami Rudi <ali@rudi.ir>
Date: Thu, 7 May 2020 02:37:37 +0430
vi: call term_done() even if ex_init() fails
Diffstat:
M vi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/vi.c b/vi.c
t@@ -1371,10 +1371,10 @@ int main(int argc, char *argv[])
vi();
else
ex();
- if (xled || xvis)
- term_done();
ex_done();
}
+ if (xled || xvis)
+ term_done();
reg_done();
syn_done();
dir_done();