1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 20:42:48 -05:00

Add a new seat method to return the cursor position.

The motivation is for the SUPDUP protocol.  The server may send a
signal for the terminal to reset any input buffers.  After this, the
server will not know the state of the terminal, so it is required to
send its cursor position back.
This commit is contained in:
Lars Brinkhoff
2019-04-04 21:17:24 +02:00
committed by Simon Tatham
parent 1efded20a1
commit a8bb6456d1
11 changed files with 44 additions and 0 deletions

View File

@ -65,6 +65,7 @@ static const SeatVtable psftp_seat_vt = {
nullseat_set_trust_status_vacuously,
cmdline_seat_verbose,
nullseat_interactive_yes,
nullseat_get_cursor_position,
};
static Seat psftp_seat[1] = {{ &psftp_seat_vt }};