summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-13 23:40:16 +0800
committerGitHub <[email protected]>2025-06-13 23:40:16 +0800
commit262293e909fff757a8b669408aeb2e4273f8a3c3 (patch)
tree8c246bd08471dee3bf70ad692d9041b9fff37abc
parentace14b3911da9aeab3afeae2362bc284ca912836 (diff)
parent6b81e9698592c5294d7cb65e69a25b0066600c15 (diff)
Merge pull request #6543 from charlesseizilles/patch-1
Allow repeating spinner chars
-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