fixed handling of white space in text to type

develop
Sascha Nitsch 2024-09-09 16:39:17 +02:00
parent fb5054c7f7
commit d8b2f05767
1 changed files with 1 additions and 1 deletions

View File

@ -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");
} }
} }