Make 2013/birken restore sanity after exit

As long as the program (alt code and otherwise) runs to completion the
program will return instead of 0:

    system("reset");

so that the terminal becomes sane again (otherwise cursor is invisible).
One could also use 'tput cvvis' but this is longer and I wanted to make
the column as close to the original ending as possible.
This commit is contained in:
Cody Boone Ferguson committed 2023-11-14 04:50:29 -08:00
1 parent ef8c84a3b1
commit f954d8d4a5
6 files changed
+26 -15

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ CDEFINE= -DZ=15000
# Include files that are needed to compile
#
CINCLUDE=
CINCLUDE= -include stdlib.h
# Optimization
#