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-04-21 21:51:07 +0200
commitcff21ea5b8e98e66dfecf1e9e2f16fd37f83ce64 (patch)
tree629e4fca99115df234f80c7825babab81bd090ae /src/bin/termptyops.h
parentcompat: add some csi dec private modes TODOs (diff)
downloadterminology-cff21ea5b8e98e66dfecf1e9e2f16fd37f83ce64.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);