1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-10 04:24:17 +00:00

chore: auto format code

This commit is contained in:
Tw93
2025-12-22 03:24:39 +00:00
parent d2dc68da90
commit ae82c83714
3 changed files with 3 additions and 4 deletions

View File

@@ -62,8 +62,8 @@ get_display_width() {
# Adjust for zero-width joiners and emoji variation selectors (common in filenames/emojis)
# These characters add bytes but no visible width; subtract their count if present.
local zwj=$'\u200d' # zero-width joiner
local vs16=$'\ufe0f' # emoji variation selector
local zwj=$'\u200d' # zero-width joiner
local vs16=$'\ufe0f' # emoji variation selector
local zero_width=0
local without_zwj=${str//$zwj/}