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