summaryrefslogtreecommitdiff
path: root/xmake/core/theme/theme.lua
diff options
context:
space:
mode:
authorCharles <[email protected]>2025-06-12 19:16:01 +0200
committercharles seizilles <[email protected]>2025-06-13 17:35:02 +0200
commit6b81e9698592c5294d7cb65e69a25b0066600c15 (patch)
tree8c246bd08471dee3bf70ad692d9041b9fff37abc /xmake/core/theme/theme.lua
parentace14b3911da9aeab3afeae2362bc284ca912836 (diff)
Allow repeating spinner chars
Diffstat (limited to 'xmake/core/theme/theme.lua')
-rw-r--r--xmake/core/theme/theme.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/core/theme/theme.lua b/xmake/core/theme/theme.lua
index 6ab9c592b..6258eb721 100644
--- a/xmake/core/theme/theme.lua
+++ b/xmake/core/theme/theme.lua
@@ -63,6 +63,10 @@ function theme._interpreter()
-- define apis
interp:api_define(theme._apis())
+ -- the spinner should be able to have the same character occur several times
+ -- cf. https://github.com/xmake-io/xmake/pull/6543#issuecomment-2970305842
+ interp:deduplication_policy_set("text.spinner.chars", false)
+
-- save interpreter
theme._INTERPRETER = interp