mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-12 19:14:03 +00:00
Merge pull request #352 from xxxserxxx/disappearingBackslash
This fixes the disappearing backslash issue
This commit is contained in:
commit
58057ea219
@ -738,6 +738,9 @@ func toUC(text string) []string {
|
|||||||
textUnQ := textQ[1 : len(textQ)-1]
|
textUnQ := textQ[1 : len(textQ)-1]
|
||||||
|
|
||||||
st := strings.Replace(textUnQ, "\\u", "U", -1)
|
st := strings.Replace(textUnQ, "\\u", "U", -1)
|
||||||
|
if st == "\\\\" {
|
||||||
|
st = "\\"
|
||||||
|
}
|
||||||
uc = append(uc, st)
|
uc = append(uc, st)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user