From a8cdc61833ab16dcb0d0d8364710d55759cc0293 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 18 Jan 2016 11:36:44 -0500 Subject: support telnet NAWS (RFC 1073) --- src/telnet.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/telnet.h') diff --git a/src/telnet.h b/src/telnet.h index f54643f..854828e 100644 --- a/src/telnet.h +++ b/src/telnet.h @@ -46,7 +46,10 @@ void telnet_init(void); #define TELNET_EXIT 1 /* returns either TELNET_OK or TELNET_EXIT */ -int telnet_handle_command(const unsigned char*); +int telnet_handle_command(const unsigned char*, size_t); + +uint16_t telnet_get_width(void); +uint16_t telnet_get_height(void); void telnet_echo_on(void); void telnet_echo_off(void); -- cgit v1.1