summaryrefslogtreecommitdiff
path: root/rc/tools/python
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-12-01 20:00:38 +1100
committerMaxime Coste <mawww@kakoune.org>2020-12-01 20:00:38 +1100
commit586f79c30de2185a18f5f769e625184dd10fa40f (patch)
treec819a3deba1c870f908b71a987f8f9e55ecf54d2 /rc/tools/python
parent14f7d2637c80258d80e5ae204e16dbb67a896ebc (diff)
Ensure InputModes are kept alive during their idle logic
Various paths can run arbitrary commands (callbacks, hooks) which could lead to the InputMode being popped off the mode stack, but contrarily to the on_key method, we had no guarantees to be kept alive. Add a keep_alive RefPtr to this to ensure the mode survives till the end. Fixes #3915
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions