diff options
| author | ruki <[email protected]> | 2020-05-27 23:08:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-27 12:52:22 +0800 |
| commit | 721d756f2dc03f596d5ec420319cd045dfca2b35 (patch) | |
| tree | 6673196e856dab5d055efca5a4f6e036b494761e /xmake/modules | |
| parent | b7eb4f8e297d804d237f018d8de310c970d237ed (diff) | |
fix spinner chars width
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/utils/progress.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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] |
