1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-23 14:05:03 -05:00
Simon Tatham d60dcc2c82 Add a Seat vtable method to get a stripctrl.
If centralised code like the SSH implementation wants to sanitise
escape sequences out of a piece of server-provided text, it will need
to do it by making a locale-based StripCtrlChars if it's running in a
console context, or a Terminal-based one if it's in a GUI terminal-
window application.

All the other changes of behaviour needed between those two contexts
are handled by providing reconfigurable methods in the Seat vtable;
this one is no different. So now there's a new method in the Seat
vtable that will construct a StripCtrlChars appropriate to that kind
of seat. Terminal-window seats (gtkwin.c, window.c) implement it by
calling the new stripctrl_new_term(), and console ones use the locale-
based stripctrl_new().
2019-03-06 20:31:26 +00:00
..
2018-12-01 17:04:44 +00:00
2018-12-01 17:04:44 +00:00
2019-02-13 19:36:31 +00:00
2019-02-06 21:46:10 +00:00