diff options
| author | ruki <[email protected]> | 2020-05-31 16:23:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-31 16:23:03 +0800 |
| commit | be4e9c0603d410b6cb7706645f555b49d66b9096 (patch) | |
| tree | c8e326f7d555b00f168c0d274d5fa8939dcd46a6 /xmake/core/sandbox/modules/utils.lua | |
| parent | d7cc9758d1f7beb92a7898a556cb4ecc62e34d32 (diff) | |
improve progress without scroll
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/utils.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua index 0440667b0..ff84a01ce 100644 --- a/xmake/core/sandbox/modules/utils.lua +++ b/xmake/core/sandbox/modules/utils.lua @@ -185,7 +185,7 @@ function sandbox_utils.clearline() if not emptychars then -- get left width - local width = os.getwinsize()["width"] - 1 + local width = os.getwinsize()["width"] if not width or width <= 0 then width = 64 end |
