diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2022-07-31 20:48:38 +0200 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2023-06-17 11:21:16 +0200 |
| commit | 00490cd08427250aaabc4fca791d8c0381b95fde (patch) | |
| tree | 35d7ca14ab3e30c5e46ad4cc2efbac6018bfbb6b /src/input_handler.hh | |
| parent | 7027cccf822148463eed4de1ad9240fd3526ae8b (diff) | |
Rename "disable_history" stack state to "noninteractive"
The commit after next will fix a bug where we wrongly disable prompt
history in some scenarios. The root cause is that life span of
"disable_history" does not model when we actually want to disable
history.
Let's rename the state variable to "noninteractive". It's set whenever
we are executing a hook, mapping or command.
Note that it's also active inside ":prompt"'s callback, which doesn't
play well with the new name :(
Diffstat (limited to 'src/input_handler.hh')
0 files changed, 0 insertions, 0 deletions
