summaryrefslogtreecommitdiff
path: root/monitor/disp.c
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-03 22:48:10 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-03 22:48:10 +0100
commit6543be77b37ad7626d4a4b1a368f6fcbafc89b24 (patch)
tree9315d754a8e72b08875f475a64c7b5df7a8ad455 /monitor/disp.c
parentd03ba1262c22aa43ffc66acb8c1394326fd4c013 (diff)
downloadSystDigit-Projet-6543be77b37ad7626d4a4b1a368f6fcbafc89b24.tar.gz
SystDigit-Projet-6543be77b37ad7626d4a4b1a368f6fcbafc89b24.zip
Nothingness, again.
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();
}