senf::console::detail::LineEditorSwitcher Class Reference

Internal: Client reader switching between LineEditorClientReader or DumbClientReader. More...

#include <senf/Utils/Console/LineEditor.hh>

Inheritance diagram for senf::console::detail::LineEditorSwitcher:

Public Member Functions

 LineEditorSwitcher (Client &client)
 
void editorSetupFailed ()
 

Detailed Description

Internal: Client reader switching between LineEditorClientReader or DumbClientReader.

This ClientReader implementation will try to initialize a LineEditorClientReader. If the setup fails, a DumbClientReader is initialized instead. LineEditor support may fail to be initialized if

  • The telnet client does not support necessary functionality
  • or the terminal type of the client is missing some functionality.

Definition at line 42 of file LineEditor.hh.

Constructor & Destructor Documentation

◆ LineEditorSwitcher()

senf::console::detail::LineEditorSwitcher::LineEditorSwitcher ( Client client)
explicit

Definition at line 32 of file LineEditor.cc.

Member Function Documentation

◆ editorSetupFailed()

void senf::console::detail::LineEditorSwitcher::editorSetupFailed ( )

Definition at line 37 of file LineEditor.cc.


The documentation for this class was generated from the following files: