From ed719d91ec84162a772dc5b90419a7da8f180292 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 11 Apr 2025 12:24:46 +0530 Subject: [PATCH] ... --- tools/cli/wcswidth_kitten.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cli/wcswidth_kitten.go b/tools/cli/wcswidth_kitten.go index ef6617012..fdbcb0c55 100644 --- a/tools/cli/wcswidth_kitten.go +++ b/tools/cli/wcswidth_kitten.go @@ -56,8 +56,8 @@ func run_tests(tests []*test_struct) (err error) { } lp.OnInitialize = func() (string, error) { lp.SetCursorVisible(false) - print_para("These tests work by sending text to the terminal and then querying it for its cursor position. Every test is thus different strings sent to the terminal along with a list of expected cursor positions after each string. A failure means the actual cursor position was different from the expected one.") - print_para("The individual test descriptions use the character ÷ to indicate a position where a break is expected to occur and the character × to indicate a position where no break should happen.") + print_para("These tests work by sending text to the terminal and then querying it for its cursor position. Every test is thus different strings sent to the terminal along with a list of expected cursor positions after each string. A failure means the actual cursor position was different from the expected one. A failure where the first expected cursor position is correct but subsequent ones are not, means that the complete string was rendered at the correct width but individual graphemes from the string were not.") + print_para("The individual test descriptions use the character ÷ to indicate a position where a break is expected to occur and the character × to indicate a position where no break should happen. ") lp.Printf("Running %d tests, please wait...\n", len(tests)) lp.QueueWriteString(buf.String())