Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion manimlib/scene/interactive_scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,10 @@ def nudge_selection(self, vect: np.ndarray, large: bool = False):
# Key actions
def on_key_press(self, symbol: int, modifiers: int) -> None:
super().on_key_press(symbol, modifiers)
char = chr(symbol)
try:
char = chr(symbol)
except OverflowError:
return
if char == SELECT_KEY and (modifiers & ALL_MODIFIERS) == 0:
self.enable_selection()
if char == UNSELECT_KEY:
Expand Down