aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.rs')
-rw-r--r--src/parser.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 0cabb1a..5099eb9 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -6,7 +6,8 @@ pub struct Parser {
}
impl Parser {
- /// Creates a new terminal parser of the given size.
+ /// Creates a new terminal parser of the given size and with the given
+ /// amount of scrollback.
pub fn new(rows: u16, cols: u16, scrollback_len: usize) -> Self {
Self {
parser: vte::Parser::new(),