mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:18:12 +00:00
LibLine: Cycle backward through suggestions using Shift+Tab
This commit is contained in:
parent
f809231718
commit
c106451daf
2 changed files with 40 additions and 3 deletions
|
@ -200,6 +200,12 @@ private:
|
|||
size_t m_next_suggestion_index { 0 };
|
||||
size_t m_next_suggestion_invariant_offset { 0 };
|
||||
|
||||
enum class TabDirection {
|
||||
Forward,
|
||||
Backward,
|
||||
};
|
||||
TabDirection m_tab_direction { TabDirection::Forward };
|
||||
|
||||
HashMap<char, NonnullOwnPtr<KeyCallback>> m_key_callbacks;
|
||||
|
||||
// TODO: handle signals internally
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue