mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
This fixes #351
This commit is contained in:
parent
9483a7f010
commit
450feedc11
@ -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