We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30018e4 commit d4577d3Copy full SHA for d4577d3
bpython/curtsiesfrontend/interaction.py
@@ -2,6 +2,7 @@
2
import time
3
import curtsies.events as events
4
5
+from bpython.translations import _
6
from bpython.repl import Interaction as BpythonInteraction
7
from bpython.curtsiesfrontend.events import RefreshRequestEvent
8
from bpython.curtsiesfrontend.manual_readline import edit_keys
@@ -103,7 +104,7 @@ def process_event(self, e):
103
104
self.escape()
105
self.request_context.switch(line)
106
elif self.in_confirm:
- if e in ("y", "Y"):
107
+ if e.lower() == _("y"):
108
self.request_context.switch(True)
109
else:
110
self.request_context.switch(False)
0 commit comments