aboutsummaryrefslogtreecommitdiff
path: root/tt.programs.ahk
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-18 16:52:52 +0100
committerJohn Ankarström <john@ankarstrom.se>2021-01-18 16:52:52 +0100
commit6586bf25abc295e6003bd6df284cd7d4b2015dbd (patch)
treecf63f0531acd70b5a3a7b1961c3c6b918c65d91a /tt.programs.ahk
parent42c6ce8b438a4fe9b77131cb2e68d23fef41ff3a (diff)
downloadahk-6586bf25abc295e6003bd6df284cd7d4b2015dbd.tar.gz
programs: Disable SE dead keys in PuTTY
Diffstat (limited to 'tt.programs.ahk')
-rw-r--r--tt.programs.ahk6
1 files changed, 6 insertions, 0 deletions
diff --git a/tt.programs.ahk b/tt.programs.ahk
index 10844b6..dd751c7 100644
--- a/tt.programs.ahk
+++ b/tt.programs.ahk
@@ -134,4 +134,10 @@ KeyWait, MButton
SendInput, {Space Up}{LButton Up}
return
+#If WinActive("ahk_class PuTTY") and Layout() = layouts.sv ; see tt.layout.ahk
++SC00D::SendInput, ``{Space}
++SC01B::SendInput, {^}{Space}
+<^>!SC01B::SendInput, ~{Space}
+#If
+
#IfWinActive