( direction: 'up' | 'down', col: number, row: number, )
| 144 | } |
| 145 | |
| 146 | function sgrWheel( |
| 147 | direction: 'up' | 'down', |
| 148 | col: number, |
| 149 | row: number, |
| 150 | ): string { |
| 151 | return sgrMouse(direction === 'up' ? 64 : 65, col, row, 'press') |
| 152 | } |
| 153 | |
| 154 | async function writeInput(stdin: FakeInput, sequence: string): Promise<void> { |
| 155 | stdin.write(sequence) |
no test coverage detected