浏览代码

fix(xtintin): 修复清屏命令

dzp 1 年之前
父节点
当前提交
5f8cfc6f9b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      plugins/lib/xtintin/cmds.tin

+ 2 - 1
plugins/lib/xtintin/cmds.tin

@@ -16,7 +16,8 @@ PaoTin++ © 2020~2023 的所有版权均由担子炮(dzp <danzipao@gmail.com>) 
 // };
 #alias {cls} {clear};
 #alias {clear} {
-    #system {tput clear};
+    #buffer clear;
+    #buffer end;
     tmux.SetTheme GAME;
     prompt.refresh;
 };