diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-01-12 15:50:56 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-01-12 15:50:56 +0100 |
| commit | 099002715d30af646d4582ac2b14322dae3f04d9 (patch) | |
| tree | 459d79b4e9121e5b6d84eea757cc17400366f075 /src/tui.c | |
| parent | 44070fb5518e2b54748d58da5a5c61f476ef8700 (diff) | |
| download | tmus-099002715d30af646d4582ac2b14322dae3f04d9.tar.gz tmus-099002715d30af646d4582ac2b14322dae3f04d9.zip | |
Refactor error handling
Diffstat (limited to 'src/tui.c')
| -rw-r--r-- | src/tui.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,3 +1,4 @@ +#include <stdbool.h> #define NCURSES_WIDECHAR 1 #define _GNU_SOURCE @@ -1290,11 +1291,3 @@ tui_update(void) return !quit; } - -void -tui_restore(void) -{ - if (!isendwin()) - endwin(); -} - |
