Improve prompts, treat invalid json as string on insert/edit

This commit is contained in:
2024-10-01 22:44:11 +02:00
parent 88abeaa896
commit 338449824f
2 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ class Menu
$item = $item . str_repeat(" ", $width - 2 - mb_strlen($item)) . "\e[40;37m";
$item = (($n == $this->index)?"\e[37;44m":"\e[40;37m") . $item;
$this->terminal
->writeAt($left, $top + 3 + $n, self::U_EDGE_VERTICAL.$item.self::U_EDGE_VERTICAL_SCROLL);
->writeAt($left, $top + 3 + $n, self::U_EDGE_VERTICAL.$item.self::U_EDGE_VERTICAL_THUMB);
}
echo "\e[0m";
}