Skip to content

winpty 0.2.1

Compare
Choose a tag to compare
@rprichard rprichard released this 20 Dec 08:41
· 227 commits to master since this release
  • The main project source was moved into a src directory for better code
    organization and to fix
    #51.
  • winpty recognizes many more escape sequences, including:
    • putty/rxvt's F1-F4 keys
      #40
    • the Linux virtual console's F1-F5 keys
    • the "application numpad" keys (e.g. enabled with DECPAM)
  • Fixed handling of Shift-Alt-O and Alt-[.
  • Added support for mouse input. The UNIX adapter has a --mouse argument
    that puts the terminal into mouse mode, but the agent recognizes mouse
    input even without the argument. The agent recognizes double-clicks using
    Windows' double-click interval setting (i.e. GetDoubleClickTime).
    #57

Changes to debugging interfaces:

  • The WINPTY_DEBUG variable is now a comma-separated list. The old
    behavior (i.e. tracing) is enabled with WINPTY_DEBUG=trace.
  • The UNIX adapter program now has a --showkey argument that dumps input
    bytes.
  • The winpty-agent.exe program has a --show-input argument that dumps
    INPUT_RECORD records. (It omits mouse events unless --with-mouse is
    also specified.) The agent also responds to WINPTY_DEBUG=trace,input,
    which logs input bytes and synthesized console events, and it responds to
    WINPTY_DEBUG=trace,dump_input_map, which dumps the internal table of
    escape sequences.