Report OSC 6/106 as ignored only once

This commit is contained in:
Kovid Goyal
2025-03-09 19:02:19 +05:30
parent dfd337edf3
commit 812fe467c9
2 changed files with 8 additions and 2 deletions

View File

@@ -209,7 +209,7 @@ func images() (r result, err error) {
func long_escape_codes() (r result, err error) {
data := random_string_of_bytes(8024, ascii_printable)
// OSC 6 is document reporting which kitty ignores after parsing
// OSC 6 is document reporting or XTerm special color which kitty ignores after parsing
data = strings.Repeat("\x1b]6;"+data+"\x07", 1024)
const desc = "Long escape codes"
duration, data_sz, reps, err := benchmark_data(desc, data, opts)