aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termptyops.h
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-04-18 23:12:15 +0200
committerBoris Faure <billiob@gmail.com>2013-06-09 12:03:51 +0200
commitf5cad4ff7f3298b3ea4f18df85f6c1e50c6d8024 (patch)
tree188e93e8fe77846e4be09607ddeefd6a0c477adf /src/bin/termptyops.h
parentcompat: add some csi dec private modes TODOs (diff)
downloadterminology-f5cad4ff7f3298b3ea4f18df85f6c1e50c6d8024.tar.gz
compat: only clear cells when scrolling to add text
and to delete lines, but not when just moving the cursor
Diffstat (limited to 'src/bin/termptyops.h')
-rw-r--r--src/bin/termptyops.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/termptyops.h b/src/bin/termptyops.h
index 3358602..8d11a41 100644
--- a/src/bin/termptyops.h
+++ b/src/bin/termptyops.h
@@ -7,10 +7,10 @@ typedef enum _Termpty_Clear
void termpty_text_save_top(Termpty *ty, Termcell *cells, ssize_t w_max);
void _termpty_text_copy(Termpty *ty, Termcell *cells, Termcell *dest, int count);
-void _termpty_text_scroll(Termpty *ty);
-void _termpty_text_scroll_rev(Termpty *ty);
-void _termpty_text_scroll_test(Termpty *ty);
-void _termpty_text_scroll_rev_test(Termpty *ty);
+void _termpty_text_scroll(Termpty *ty, Eina_Bool clear);
+void _termpty_text_scroll_rev(Termpty *ty, Eina_Bool clear);
+void _termpty_text_scroll_test(Termpty *ty, Eina_Bool clear);
+void _termpty_text_scroll_rev_test(Termpty *ty, Eina_Bool clear);
void _termpty_text_append(Termpty *ty, const Eina_Unicode *codepoints, int len);
void _termpty_clear_line(Termpty *ty, Termpty_Clear mode, int limit);
void _termpty_clear_screen(Termpty *ty, Termpty_Clear mode);