summaryrefslogtreecommitdiff
path: root/src/terminal/fqterm_buffer.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2014-07-04 22:55:29 +0800
committerIru Cai <mytbk920423@gmail.com>2014-07-04 22:55:29 +0800
commited5c6b000bc032d3584e770a9aff40373af19c2e (patch)
tree0423c582609181255932015718cdb0d1ce78536e /src/terminal/fqterm_buffer.h
parent47731af03865c7c1f251a2e6b44ae905d61d083b (diff)
downloadfqterm-ed5c6b000bc032d3584e770a9aff40373af19c2e.tar.xz
Add ANSI sequence "<ESC> c" support
Diffstat (limited to 'src/terminal/fqterm_buffer.h')
-rw-r--r--src/terminal/fqterm_buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/terminal/fqterm_buffer.h b/src/terminal/fqterm_buffer.h
index 3e0ef6a..d22e2a3 100644
--- a/src/terminal/fqterm_buffer.h
+++ b/src/terminal/fqterm_buffer.h
@@ -119,6 +119,9 @@ class FQTermBuffer: public QObject {
// restrictied in [top_row_, bottom_row_] of terminal.)
void setMargins(int top_row, int bottom_row);
+ // reset terminal
+ void termReset();
+
// the caret's coordinate in term or buffer.
int getCaretColumn() const;
int getCaretRow() const;