diff options
Diffstat (limited to 'src/readline.rs')
-rw-r--r-- | src/readline.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/readline.rs b/src/readline.rs index 529c102..365f5ec 100644 --- a/src/readline.rs +++ b/src/readline.rs @@ -48,10 +48,6 @@ impl Readline { Some(crate::action::Action::Render) } - pub fn lines(&self) -> usize { - 2 // XXX handle wrapping - } - pub async fn render( &self, out: &mut textmode::Output, @@ -112,6 +108,10 @@ impl Readline { self.size = size; } + pub fn lines(&self) -> usize { + 2 // XXX handle wrapping + } + fn input(&self) -> String { self.input_line.clone() } |