Get progress bar rendering working

This commit is contained in:
Kovid Goyal
2022-11-16 16:35:15 +05:30
parent dd1fcf6855
commit ae93d95bbe
4 changed files with 42 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ func TestWCSWidth(t *testing.T) {
wcswidth("\U0001F1E6\U0001F1E8a", 3)
wcswidth("\U0001F1E6\U0001F1E8\U0001F1E6", 4)
wcswidth("a\u00adb", 2)
wcswidth("a\x1b[22b", 23)
wcswidth("a\x1b[22bcd", 25)
// Flags individually and together
wcwidth("\U0001f1ee\U0001f1f3", 2, 2)
wcswidth("\U0001f1ee\U0001f1f3", 2)