Add space after CLI prompt
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 24 Aug 2023 09:16:24 +0000 (11:16 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 24 Aug 2023 09:16:24 +0000 (11:16 +0200)
This makes the prompt a little more readable after the addition of the time.

wcfsetup/install/files/lib/system/CLIWCF.class.php

index 8a2ee540478632774edeae047b9e256be04274c5..8a2b7048144e3fb12262f0358b4070675ce814d9 100644 (file)
@@ -277,7 +277,7 @@ class CLIWCF extends WCF
             self::getReader()->setHistoryEnabled(true);
             $now = new \DateTimeImmutable('now', WCF::getUser()->getTimeZone());
             $line = self::getReader()->readLine(\sprintf(
-                '%s>',
+                '%s> ',
                 $now->format('H:i:s'),
             ));
             if ($line === null) {