소스 검색

fix(prompt): 当提示栏只剩下 BotSepBar 时内容不显示的 BUG

dzp 3 년 전
부모
커밋
a54befd585
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      plugins/lib/ui/prompt.tin

+ 1 - 1
plugins/lib/ui/prompt.tin

@@ -344,7 +344,7 @@ tt++ table 由一组选项和与之对应的选项值来组成,用来说明想
         };
     };
 
-    #if { &midSepBar[] > 0 || $botMaxLine > 0 } {
+    #if { &midSepBar[] > 0 || &botLines[] > 0 } {
         #local text {@__prompt_build_line__{{$midSepBar}}};
         #local barColor {${prompt-theme[MidSepBar]}};
         #if { "$allBarColor" != "" } {#local barColor {$allBarColor}};