fix: adjust sleep durations in Linux input focus release for improved responsiveness

This commit is contained in:
jahruz67
2026-05-20 17:18:47 -07:00
parent f7d34fff32
commit b0dbaa1f67
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -52,11 +52,11 @@ func (a *App) insertTranscription(text string) {
func (a *App) releaseLinuxInputFocus() {
if a.ctx == nil {
time.Sleep(150 * time.Millisecond)
time.Sleep(100 * time.Millisecond)
return
}
wailsruntime.WindowHide(a.ctx)
time.Sleep(250 * time.Millisecond)
time.Sleep(150 * time.Millisecond)
}
func isASCII(text string) bool {