summaryrefslogtreecommitdiffstats
path: root/src/commands/open_file.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-05-26 18:28:58 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-05-26 18:28:58 -0400
commit829d8b9ff0806ffc2da692f12b9e8a6f5c228aa4 (patch)
treefb018bafc4c8568d447825e5da3c17263d74466e /src/commands/open_file.rs
parent397506b398aa1cc6d03a154ae1792815131f8125 (diff)
update commands to use new textfield
Diffstat (limited to 'src/commands/open_file.rs')
-rw-r--r--src/commands/open_file.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/open_file.rs b/src/commands/open_file.rs
index df66764..98d0c67 100644
--- a/src/commands/open_file.rs
+++ b/src/commands/open_file.rs
@@ -205,6 +205,8 @@ impl OpenFileWith {
term_cols,
(term_rows as usize - 1, 0),
PROMPT.to_string(),
+ String::from(""),
+ String::from(""),
);
user_input = textfield.readline();
}