(oscNum int, parts ...string)
| 644 | } |
| 645 | |
| 646 | func FormatOSC(oscNum int, parts ...string) string { |
| 647 | if len(parts) == 0 { |
| 648 | return fmt.Sprintf("\x1b]%d\x07", oscNum) |
| 649 | } |
| 650 | return fmt.Sprintf("\x1b]%d;%s\x07", oscNum, strings.Join(parts, ";")) |
| 651 | } |
no outgoing calls
no test coverage detected