(text: string)
| 11 | export type GenClipboardItem = { text?: string; image?: Blob }; |
| 12 | |
| 13 | export function trimTerminalSelection(text: string): string { |
| 14 | return text |
| 15 | .split("\n") |
| 16 | .map((line) => line.trimEnd()) |
| 17 | .join("\n"); |
| 18 | } |
| 19 | |
| 20 | export function normalizeCursorStyle(cursorStyle: string): TermTypes.Terminal["options"]["cursorStyle"] { |
| 21 | if (cursorStyle === "underline" || cursorStyle === "bar") { |
no outgoing calls
no test coverage detected