summaryrefslogtreecommitdiffstats
path: root/src/commands/new_directory.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-22 20:51:55 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-22 20:51:55 -0400
commit043a118903e4f7981c4e6c1193406de798c1d9e6 (patch)
tree868b86477d912708c88571152cc42886ed9d6bf9 /src/commands/new_directory.rs
parent1440bb47b469414b82180ddca31392befee5b209 (diff)
code cleanup
Diffstat (limited to 'src/commands/new_directory.rs')
-rw-r--r--src/commands/new_directory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/new_directory.rs b/src/commands/new_directory.rs
index b3d1c2d..64d7e5c 100644
--- a/src/commands/new_directory.rs
+++ b/src/commands/new_directory.rs
@@ -43,7 +43,7 @@ impl JoshutoRunnable for NewDirectory {
(term_rows as usize - 1, 0),
PROMPT.to_string(),
);
- textfield.readline_with_initial("", "")
+ textfield.readline()
};
if let Some(user_input) = user_input {