From 721d756f2dc03f596d5ec420319cd045dfca2b35 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 27 May 2020 23:08:43 +0800 Subject: fix spinner chars width --- xmake/modules/private/utils/progress.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'xmake/modules/private/utils/progress.lua') diff --git a/xmake/modules/private/utils/progress.lua b/xmake/modules/private/utils/progress.lua index 45f148d5f..f4496005c 100644 --- a/xmake/modules/private/utils/progress.lua +++ b/xmake/modules/private/utils/progress.lua @@ -84,6 +84,7 @@ function new(stream, opt) opt = opt or {} if opt.chars == nil or #opt.chars == 0 then opt.chars = theme.get("text.spinner.chars") + opt.width = 2 end opt.width = opt.width or #opt.chars[1] -- cgit v1.3.1