diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-02-11 15:53:19 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-02-11 15:53:19 -0500 |
commit | 6042557a5e88601cb37b6067a5fdb547f6aca232 (patch) | |
tree | 5c75a81601d541dc9b74780cb8b94ec2cfb5b2fe /src/commands | |
parent | daf9d7b9afec8c598c0974c5d92263c3af5facf0 (diff) |
more progress on tui-rs work
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/command_line.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/command_line.rs b/src/commands/command_line.rs index 3376f83..5f5b9db 100644 --- a/src/commands/command_line.rs +++ b/src/commands/command_line.rs @@ -24,7 +24,8 @@ impl CommandLine { context: &mut JoshutoContext, backend: &mut TuiBackend, ) -> JoshutoResult<()> { - // let mut textfield = TextField::new(&mut terminal, &context.events); + // let mut textfield = + let mut textfield = TextField::new(backend, &context.events); let user_input: Option<String> = None; //textfield.readline(); if let Some(s) = user_input { |