Bugfix message styling, save tailLine setting
This commit is contained in:
		@@ -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";
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user