summaryrefslogtreecommitdiffstats
path: root/src/commands/command_line.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-11 15:53:19 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-11 15:53:19 -0500
commit6042557a5e88601cb37b6067a5fdb547f6aca232 (patch)
tree5c75a81601d541dc9b74780cb8b94ec2cfb5b2fe /src/commands/command_line.rs
parentdaf9d7b9afec8c598c0974c5d92263c3af5facf0 (diff)
more progress on tui-rs work
Diffstat (limited to 'src/commands/command_line.rs')
-rw-r--r--src/commands/command_line.rs3
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 {