Improve prompts, treat invalid json as string on insert/edit
This commit is contained in:
+1
-1
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user