summaryrefslogtreecommitdiffstats
path: root/src/app/prompt.rs
diff options
context:
space:
mode:
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 {