i'm adding mouse support to a ncurses like library and i'm sending the control sequence:
SET_ANY_EVENT_MOUSE (1003h) but it seems putty does not support it?
It does support SET_BTN_EVENT_MOUSE (1002h)
All other terminals i tried (xterm, vte bases terminals, iterm) working just fine.
Does putty also support SET_ANY_EVENT_MOUSE and must i enable something else?
How would you debug such kind control sequences?
I'd look at PuTTY's source code, which is in a Git repository. The relevant place to look is in
terminal.cin thetoggle_modefunction. The switch/case statement is ordered by mode number:and as you see, it does nothing for
1003(nor does the log mention it anywhere).I'd link to the source, but the host doesn't respond at the moment. However, from my local copy, I see the
1002feature was added here:so it's not a recently-overlooked issue.