Skip to content
Prev Previous commit
Next Next commit
Lib/_pyrepl/windows_console.py: clearer comment
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
  • Loading branch information
paulie4 and eendebakpt authored Jan 4, 2025
commit 16f2a13bf238fc4dfcd4c59d24a0b91ed78ff0c9
2 changes: 1 addition & 1 deletion Lib/_pyrepl/windows_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def get_event(self, block: bool = True) -> Event | None:
return None

if key_event.dwControlKeyState & ALT_ACTIVE:
# first send meta, then send the key
# queue the key, return the meta command
self.event_queue.insert(0, Event(evt="key", data=key, raw=raw_key))
return Event(evt="key", data="\033") # keymap.py uses this for meta
Comment thread
paulie4 marked this conversation as resolved.

Expand Down