diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2024-05-17 10:39:32 +0200 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-05-18 11:35:48 +1000 |
| commit | 7a90473267f7f2fd8df5ae933c7b287c31ce3c97 (patch) | |
| tree | 287532836cd8056481beb8d26964a451034f49ac /rc/tools/python | |
| parent | 4e5631daf3a62bff1d7c4d2e697535ed4ebffcba (diff) | |
Revert "Make TerminalUI::get_next_key() helpers static"
On macOS, backspace reportedly no longer works after <c-z> and fg.
The value of m_original_termios.c_cc[VERASE] seems to be wrong
in a static lambda that captures a singleton "this".
Not sure what's the problem. I thought that it is guaranteed that
"static auto convert = [this]() { ... }" is initialized lazily,
hence it should capture the correct address. Maybe the address
changes somehow or it's UB / a compiler bug.
This reverts commit ad36585b7ad236bea7d1c02b0679ae371c3c2a9e
Closes #5155
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions
