Create a TUI with a virtual terminal for testing
(cols = 80, rows = 24)
| 11 | |
| 12 | /** Create a TUI with a virtual terminal for testing */ |
| 13 | function createTestTUI(cols = 80, rows = 24): TUI { |
| 14 | return new TUI(new VirtualTerminal(cols, rows)); |
| 15 | } |
| 16 | |
| 17 | /** Standard applyCompletion that replaces prefix with item.value */ |
| 18 | function applyCompletion( |