#include <senf/Utils/Exception.hh>
//#include "Terminfo.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
namespace term {
class Terminfo
{
public:
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
// Types
/** \brief NoValue constant
typedef boost::int16_t number_t; ///< Numeric terminfo property type
typedef char const* string_t; ///< String terminfo property type
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
Terminfo();
explicit Terminfo(std::string const & term); ///< Load terminfo entry \a term
/**< Formats the string property \a p containing special
terminfo codes. Terminfo supports up to 9 parameters. */
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
void dump(std::ostream & os) const; ///< Dump a description of the terminfo entry
class KeyParser
{
public:
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
// Types
/** \brief Special keyboard key codes */
/** \brief Helper to convert uppercase char to Control key code */
static keycode_t Ctrl(char ch) { return ch-'@'; }
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
KeyParser();
explicit KeyParser(Terminfo const & ti); ///< Load keymap information from \a ti
}}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
//#include "Terminfo.cci"
//#include "Terminfo.ct"
//#include "Terminfo.cti"