mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
Fix screen_init() regression introduced in a6290da
A simple missing semicolon caused initscr() to not be called properly. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
7f499ed1d0
commit
6a2911223d
1 file changed
+1
-1
+1
-1
@@ -76,7 +76,7 @@ char *sanitize(char *arg, size_t len)
|
|||||||
void screen_init(void)
|
void screen_init(void)
|
||||||
{
|
{
|
||||||
if (!isatty(STDOUT_FILENO))
|
if (!isatty(STDOUT_FILENO))
|
||||||
return
|
return;
|
||||||
|
|
||||||
initscr(&screen_rows, &screen_cols);
|
initscr(&screen_rows, &screen_cols);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user