# Both halves of pardes_key's vocabulary through PardesView.typeKey: the four # ASCII controls, the private-use navigation block, and a Ctrl chord. Markers # are split with '' so the echoed command line can never be the thing a `wait` # matched — the output has to be what arrived. start 24 80 wait 8000 Newcol Joincol wait 8000 $ stable 700 20000 # raw tty mode: characters and Enter travel to the shell through the pty text echo al''pha stable 400 5000 snap typed key enter wait 8000 alpha stable 700 10000 snap ran # backspace before Enter — readline owns the line while the pane is raw text echo bra''vv key backspace text o stable 400 5000 snap fixed key enter wait 8000 bravo stable 700 10000 snap second # Ctrl-b leaves raw tty mode. From here the same keys are the editor's, which # is the half of the keyboard the pty never sees. key c-b stable 600 8000 snap normal key up up left stable 400 5000 snap moved key home stable 400 5000 snap home key end stable 400 5000 snap end key pagedown stable 400 5000 snap pagedown key pageup stable 400 5000 snap pageup key delete stable 400 5000 snap deleted # Escape in normal mode is Last, and with one pane there is nowhere to go — # which is exactly the no-op worth pinning: a regression here starts jumping. key escape stable 400 5000 snap escaped # Tab falls through to Exec on the word under the cursor; parked where there is # no word, this pins the empty case rather than spawning anything. key tab stable 700 10000 snap tabbed