Display: Abstract terminfo capability functions

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2013-01-27 21:36:05 -05:00
committed by Keith Winstein
parent 03217ddb5a
commit 2ae960f7f0
2 changed files with 34 additions and 21 deletions
+4
View File
@@ -65,6 +65,10 @@ namespace Terminal {
class Display {
private:
bool ti_flag( const char *capname ) const;
int ti_num( const char *capname ) const;
const char *ti_str( const char *capname ) const;
bool has_ech; /* erase character is part of vt200 but not supported by tmux
(or by "screen" terminfo entry, which is what tmux advertises) */