summaryrefslogtreecommitdiff
path: root/libterm/examples/detect_screen_size.c
diff options
context:
space:
mode:
Diffstat (limited to 'libterm/examples/detect_screen_size.c')
-rw-r--r--libterm/examples/detect_screen_size.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libterm/examples/detect_screen_size.c b/libterm/examples/detect_screen_size.c
index f309253..50ad15f 100644
--- a/libterm/examples/detect_screen_size.c
+++ b/libterm/examples/detect_screen_size.c
@@ -10,6 +10,8 @@ int main()
if ( term_init( &ts ) == -1 )
printf("Some err when init\n");
+ term_set_raw_mode( &ts );
+
term_clr_scr( &ts );
{