mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-07-05 13:15:32 +02:00
Add clear and sb_reset
Clearing the terminal removes all lines in the scrollback buffer except for the most recent. With sb_reset, the terminal will return the scrollback buffer to the bottom when the user starts typing if they have previously scrolled up.
This commit is contained in:
parent
ebb527cb8b
commit
e8c27f2796
5 changed files with 40 additions and 12 deletions
|
@ -57,6 +57,8 @@ public:
|
|||
|
||||
void sb_up(int num);
|
||||
void sb_down(int num);
|
||||
void sb_reset();
|
||||
void clear_sb();
|
||||
|
||||
void start_selection(Vector2 position);
|
||||
void select_to_pointer(Vector2 position);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue