From d8b2f05767298beaa0f9984bd1737c6559c8c53f Mon Sep 17 00:00:00 2001 From: Sascha Nitsch Date: Mon, 9 Sep 2024 16:39:17 +0200 Subject: [PATCH] fixed handling of white space in text to type --- scriptedbrowser/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scriptedbrowser/control.php b/scriptedbrowser/control.php index f65e24e..75491b2 100644 --- a/scriptedbrowser/control.php +++ b/scriptedbrowser/control.php @@ -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"); } }