#include <senf/Utils/Termlib/Telnet.hh>
This telnet handler implements the NAWS option. The client terminals window size will be requested during initialization. The current window size may always be accessed using the width() and height() members.
Whenever the window size is changed, the v_windowSizeChanged() function is called. This function must be implemented in a derived class.
Definition at line 408 of file Telnet.hh.
Public Member Functions |
|
unsigned | width () const |
Get current client window width. |
|
unsigned | height () const |
Get current client window height. |
|
Static Public Attributes |
|
static option_type const | OPTION_CODE = telnetopt::NAWS |
Protected Member Functions |
|
NAWS () | |
virtual void | v_windowSizeChanged ()=0 |
Called, whenever window size changes. |
unsigned senf::term::telnethandler::NAWS:: | ||||
height | () | |||
Get current client window height.
Reimplemented in senf::term::TelnetTerminal.
Definition at line 65 of file Telnet.cci.
virtual void senf::term::telnethandler::NAWS:: | ||||
v_windowSizeChanged | () | |||
Called, whenever window size changes.
This member is called for every window size change after initialization.
unsigned senf::term::telnethandler::NAWS:: | ||||
width | () | |||
Get current client window width.
Reimplemented in senf::term::TelnetTerminal.
Definition at line 59 of file Telnet.cci.
option_type const senf::term::telnethandler::NAWS::OPTION_CODE = telnetopt::NAWS | ||||
[static] | ||||