260411.1 · 21c482b0a66e3c1f8c2714597a1a4ce0534eab60
style: unify OSC spelling in comments
reading declarations
@@ -1186,7 +1186,7 @@ type eventPrimaryAttributes struct { Greek bool // Greek (DA 23) Turkish bool // Turkish (DA 24) Latin2 bool // ISO Latin-2 (DA 42)- Clipboard bool // OSC-52 support (DA 52)+ Clipboard bool // OSC 52 support (DA 52) } // eventTermName is for extended attributes
@@ -128,7 +128,7 @@ const ( requestPrimaryDA = "\x1b[c" // Request primary device attributes requestExtAttr = "\x1b[>q" // Request extended attribute (emulator name and version) setClipboard = "\x1b]52;c;%s\x1b\\" // Clipboard content is base64- notifyDesktop9 = "\x1b]9;%[2]s\x1b\\" // Args are title, body (but osc 9 only has body)+ notifyDesktop9 = "\x1b]9;%[2]s\x1b\\" // Args are title, body (but OSC 9 only has body) notifyDesktop777 = "\x1b]777;notify;%s;%s\x1b\\" // Most commonly supported queryKittyKbd = "\x1b[?u" // Query for Kitty keyboard support enableKittyKbd = "\x1b[=1u" // Technically this pushes
@@ -79,7 +79,7 @@ type Resizer interface { NotifyResize(chan<- bool) } -// Titler adds support for setting the window title. (Typically this is OSC2.)+// Titler adds support for setting the window title. (Typically this is OSC 2.) // Note that for security reasons we only support setting this. // We don't bother with icon titles, since few terminal emulators support it, and it // would be hard for us to do this in any portable fashion.