summaryrefslogtreecommitdiff
path: root/monitor/disp.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/disp.c')
-rw-r--r--monitor/disp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor/disp.c b/monitor/disp.c
index 7d24325..5a699de 100644
--- a/monitor/disp.c
+++ b/monitor/disp.c
@@ -21,6 +21,7 @@ static WINDOW *wpstatus, *wpoutput, *wcmdline;
void disp_init() {
initscr();
+ savetty();
cbreak();
noecho();
nonl();
@@ -39,6 +40,7 @@ void disp_init() {
}
void disp_finish() {
+ resetty();
endwin();
}