fixed handling of white space in text to type

This commit is contained in:
Sascha Nitsch 2024-09-09 16:39:17 +02:00
parent fb5054c7f7
commit d8b2f05767

View file

@ -356,6 +356,6 @@ class Control
public function type($typeSpeed, $text)
{
$delay = 1000 / $typeSpeed;
fwrite($this->xdotool, "type --delay $delay $text\n");
fwrite($this->xdotool, "type --delay $delay '$text'\n");
}
}