瀏覽代碼

fix(prompt): 信息栏重新 split 时需要刷新 buffer

dzp 2 年之前
父節點
當前提交
04a6412337
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/lib/ui/prompt.tin

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

@@ -383,6 +383,7 @@ tt++ table 由一组选项和与之对应的选项值来组成,用来说明想
         #var prompt-top-max-line {$topMaxLine};
         #var prompt-bot-max-line {$botMaxLine};
         #split {$topMaxLine} {$botMaxLine};
+        #buffer end;
     };
 
     #local idx {};