jja 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mjs/src/clearScreen.mjs +1 -1
- package/package.json +1 -1
package/mjs/src/clearScreen.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isWindows as
|
|
1
|
+
import{isTTY as e,isWindows as r,_p as c}from"a-node-tools";import{execSync as o}from"node:child_process";const l={"clearScreen <cls> (清理终端显示屏幕,同 clearTerminal )":"","clearTerminal <clear> (清理终端显示屏幕,同 clearScreen )":""};async function a(){e()?o(r?"cls":"clear",{stdio:[0,1,2]}):c("当前环境不支持 ")}export{a as clearScreen,l as clearScreenBind};
|