Separate modules by subdirectory
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef TERMINALUSERINPUT_HPP
|
||||
#define TERMINALUSERINPUT_HPP
|
||||
|
||||
#include <string>
|
||||
#include "parseraction.h"
|
||||
|
||||
namespace Terminal {
|
||||
class UserInput {
|
||||
private:
|
||||
wchar_t last_byte;
|
||||
|
||||
public:
|
||||
UserInput()
|
||||
: last_byte( -1 )
|
||||
{}
|
||||
|
||||
std::string input( const Parser::UserByte *act,
|
||||
bool application_mode_cursor_keys );
|
||||
|
||||
bool operator==( const UserInput &x ) const { return last_byte == x.last_byte; }
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user