fixed handling of white space in text to type
parent
fb5054c7f7
commit
d8b2f05767
|
@ -356,6 +356,6 @@ class Control
|
||||||
public function type($typeSpeed, $text)
|
public function type($typeSpeed, $text)
|
||||||
{
|
{
|
||||||
$delay = 1000 / $typeSpeed;
|
$delay = 1000 / $typeSpeed;
|
||||||
fwrite($this->xdotool, "type --delay $delay $text\n");
|
fwrite($this->xdotool, "type --delay $delay '$text'\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue