fix regex. need to account of XXhYYm etc
This commit is contained in:
parent
1e96aa845b
commit
a46c071143
|
@ -144,7 +144,7 @@ func vncSendString(c *vnc.ClientConn, original string) {
|
||||||
special["<rightShift>"] = 0xFFE2
|
special["<rightShift>"] = 0xFFE2
|
||||||
|
|
||||||
shiftedChars := "~!@#$%^&*()_+{}|:\"<>?"
|
shiftedChars := "~!@#$%^&*()_+{}|:\"<>?"
|
||||||
waitRe := regexp.MustCompile(`^<wait([0-9]+[hms])>`)
|
waitRe := regexp.MustCompile(`^<wait([0-9hms]+)>`)
|
||||||
|
|
||||||
// TODO(mitchellh): Ripe for optimizations of some point, perhaps.
|
// TODO(mitchellh): Ripe for optimizations of some point, perhaps.
|
||||||
for len(original) > 0 {
|
for len(original) > 0 {
|
||||||
|
|
Loading…
Reference in New Issue