Merged changes from hunter. Attempt to fix cthulhu announcing modifiers when suspended for xterm.
This commit is contained in:
1 parent
27867a48cb
commit
f2cc47c8a0
24 files changed
+679
-67
No files matched your search
@@ -127,7 +127,7 @@ func (speaker gatedSpeech) InterruptInternalUI() {
|
||||
}
|
||||
|
||||
func (speaker gatedSpeech) InterruptForUser() {
|
||||
if speaker.gate.Locked() {
|
||||
if speaker.gate.Locked() || speaker.gate.Suspended() {
|
||||
return
|
||||
}
|
||||
speaker.gate.dismiss_confirmation()
|
||||
@@ -139,7 +139,7 @@ func (speaker gatedSpeech) InterruptForUser() {
|
||||
}
|
||||
|
||||
func (speaker gatedSpeech) InterruptForInput(event input.Event) bool {
|
||||
if speaker.gate.InternalUIActive() {
|
||||
if speaker.gate.InternalUIActive() || speaker.gate.Suspended() {
|
||||
return false
|
||||
}
|
||||
if speaker.gate.Locked() {
|
||||
|
||||
Reference in new issue
Block a user