Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
test(windows): pin delayed direct PTY submission
enes5f15da05fc88
diff --git a/src/core/native-windows-pane.test.ts b/src/core/native-windows-pane.test.tsindex 338729149..f28dab45b 100644--- a/src/core/native-windows-pane.test.ts+++ b/src/core/native-windows-pane.test.ts@@ -69,6 +69,21 @@ describe('native Windows envelope delivery', () => {})describe('native Windows sendText (the write verb and the app’s own writers)', () => {+ it('waits for a busy direct PTY composer before its single Enter', async () => {+ const write = vi.fn()+ let polls = 0+ const pane = new NativeWindowsPane({ pid: 10, write },+ { cols: 80, rows: 24, scrollback: 100 }, async () => expected, {+ wait: async () => {+ if (++polls === 4) pane.recordOutput('slow text')+ }+ })+ panes.push(pane)+ pane.recordOutput('\x1b[?2004h')+ expect(await pane.sendText('slow text', true)).toBe(true)+ expect(polls).toBe(5)+ expect(write.mock.calls).toEqual([['\x1b[200~slow text\x1b[201~'], ['\r']])+ })it('frames only when the app asked for bracketed paste, then Enter', async () => {const { pane, write, probe } = fixture()pane.recordOutput('\x1b[?2004h')