summaryrefslogtreecommitdiffstats
path: root/src/app/prompt.rs
diff options
context:
space:
mode:
authororhun <orhun@archlinux.org>2021-07-08 02:05:37 +0300
committerorhun <orhun@archlinux.org>2021-07-08 02:05:37 +0300
commit888a5d836d036e199bde044c08adc04a38d9464d (patch)
tree302fa7cf0c67921d5363a4b55b0e00d9eb95834e /src/app/prompt.rs
parentcb1df0b004e04f7aa71ac5398355877f18e46ae4 (diff)
feat: Add `--select` option (#24)
Diffstat (limited to 'src/app/prompt.rs')
-rw-r--r--src/app/prompt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/prompt.rs b/src/app/prompt.rs
index d821f6c..45470ee 100644
--- a/src/app/prompt.rs
+++ b/src/app/prompt.rs
@@ -75,7 +75,7 @@ pub struct Prompt {
/// Command history.
pub history: Vec<String>,
/// Index of the selected command from history.
- history_index: usize,
+ pub history_index: usize,
}
impl Prompt {