Bugfix message styling, save tailLine setting

This commit is contained in:
noccy committed 2024-10-03 18:05:34 +02:00
1 parent 19ba6a9bee
commit ab399f77e9
2 files changed
+9 -1

No files matched your search

+7 -1
View File
@@ -254,6 +254,12 @@ class Editor
$this->redrawEditor();
$this->showMessage("Toggle collapse icon before item (b)");
break;
case "t":
Settings::$tailLine = !Settings::$tailLine;
$this->redrawEditor();
$this->showMessage("Toggle tail line (t)");
break;
case "+":
$node = $this->list->getNodeForIndex($this->currentRow);
@@ -840,7 +846,7 @@ class Editor
{
[$w,$h] = $this->term->getSize();
$this->term->setCursor(1, $h);
echo $message."\e[K\e[0m";
echo "\e[0m".$message."\e[K\e[0m";
}