(data: string, isAppleTerminal: boolean, isShiftPressed: boolean)
| 42 | } |
| 43 | |
| 44 | export function normalizeAppleTerminalInput(data: string, isAppleTerminal: boolean, isShiftPressed: boolean): string { |
| 45 | if (isAppleTerminal && data === "\r" && isShiftPressed) return APPLE_TERMINAL_SHIFT_ENTER_SEQUENCE; |
| 46 | return data; |
| 47 | } |
| 48 | |
| 49 | /** |
| 50 | * Minimal terminal interface for TUI |
no outgoing calls
no test coverage detected