1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Add TS_LOCALSTART for session-specific 'Telnet' specials.

Now I can invent codes that vary per session.
This commit is contained in:
Simon Tatham 2016-03-21 06:54:26 +00:00
parent 10a48c3591
commit 75fdfed80b

View File

@ -182,7 +182,14 @@ typedef enum {
/* Pseudo-specials used for constructing the specials menu. */
TS_SEP, /* Separator */
TS_SUBMENU, /* Start a new submenu with specified name */
TS_EXITMENU /* Exit current submenu or end of specials */
TS_EXITMENU, /* Exit current submenu or end of specials */
/* Starting point for protocols to invent special-action codes
* that can't live in this enum at all, e.g. because they change
* with every session.
*
* Of course, this must remain the last value in this
* enumeration. */
TS_LOCALSTART
} Telnet_Special;
struct telnet_special {