Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Brinkhoff <lars@nocrew.org>2019-04-04 22:17:24 +0300
committerSimon Tatham <anakin@pobox.com>2020-03-10 10:01:46 +0300
commita8bb6456d1ef89289afae5a252b837e83632882c (patch)
treeab100d8bae7e42a52445a017fa9a53270a37bac6 /psftp.c
parent1efded20a1a66509b0a2b23c4342c96b395c6437 (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.c1
1 files changed, 1 insertions, 0 deletions
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 }};