Moved restore speech on prompt to existing temp interrupt speech command, Fenrir+kp_plus unbound now.

This commit is contained in:
Storm Dragon
2025-06-28 01:49:20 -04:00
parent 40b88efa34
commit beae1866bb
8 changed files with 19 additions and 4 deletions

View File

@@ -24,6 +24,9 @@ class command():
return
self.env['runtime']['settingsManager'].setSetting('speech', 'enabled', str(self.env['commandBuffer']['enableSpeechOnKeypress']))
self.env['commandBuffer']['enableSpeechOnKeypress'] = False
# Also disable prompt watching since speech was manually re-enabled
if 'silenceUntilPrompt' in self.env['commandBuffer']:
self.env['commandBuffer']['silenceUntilPrompt'] = False
self.env['runtime']['outputManager'].presentText(_("speech enabled"), soundIcon='SpeechOn', interrupt=True)
def setCallback(self, callback):