Summary
Add shell-like prompt history navigation to the QueryMT TUI input.
Problem
There is currently no easy way to recall previously submitted prompts from the input field.
Expected behavior
When the input field is empty, Up and Down should navigate through previously submitted prompts, similar to command history in a shell.
This history should:
- be global rather than session-specific
- mix prompts from different sessions in a single ordered history, like shell history
- be ordered by timestamp
- be persisted in cache
- allow the user to move backward and forward through previous prompts
Configuration
Prompt history should have a default cap of 1000 entries.
This limit should be configurable via tui.toml.
Notes
This should behave similarly to Bash history navigation, but for prompts instead of shell commands.
Summary
Add shell-like prompt history navigation to the QueryMT TUI input.
Problem
There is currently no easy way to recall previously submitted prompts from the input field.
Expected behavior
When the input field is empty,
UpandDownshould navigate through previously submitted prompts, similar to command history in a shell.This history should:
Configuration
Prompt history should have a default cap of 1000 entries.
This limit should be configurable via
tui.toml.Notes
This should behave similarly to Bash history navigation, but for prompts instead of shell commands.