From a8bb6456d1ef89289afae5a252b837e83632882c Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Thu, 4 Apr 2019 21:17:24 +0200 Subject: 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. --- psftp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'psftp.c') diff --git a/psftp.c b/psftp.c index 2be47894..99e0e12e 100644 --- a/psftp.c +++ b/psftp.c @@ -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 }}; -- cgit v1.2.3