Support a special key mode for moving cursor at marked prompts

Needed for fish integration because the arrow keys cause auto-complete
to trigger.
This commit is contained in:
Kovid Goyal
2024-03-31 11:19:35 +05:30
parent 0c6fa47789
commit f4fe015261
2 changed files with 12 additions and 3 deletions

View File

@@ -132,6 +132,7 @@ typedef struct {
union {
struct {
unsigned int redraws_prompts_at_all: 1;
unsigned int uses_special_keys_for_cursor_movement: 1;
};
unsigned int val;
} prompt_settings;