diff options
author | Lars Brinkhoff <lars@nocrew.org> | 2019-04-04 22:17:24 +0300 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2020-03-10 10:01:46 +0300 |
commit | a8bb6456d1ef89289afae5a252b837e83632882c (patch) | |
tree | ab100d8bae7e42a52445a017fa9a53270a37bac6 /psftp.c | |
parent | 1efded20a1a66509b0a2b23c4342c96b395c6437 (diff) |
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.
Diffstat (limited to 'psftp.c')
-rw-r--r-- | psftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 }}; |