Small cleanups
This commit is contained in:
@@ -90,7 +90,6 @@ int Dispatcher::getparam( size_t N, int defaultval )
|
|||||||
int ret = defaultval;
|
int ret = defaultval;
|
||||||
if ( !parsed ) {
|
if ( !parsed ) {
|
||||||
parse_params();
|
parse_params();
|
||||||
parsed = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( parsed_params.size() > N ) {
|
if ( parsed_params.size() > N ) {
|
||||||
@@ -105,7 +104,6 @@ int Dispatcher::param_count( void )
|
|||||||
{
|
{
|
||||||
if ( !parsed ) {
|
if ( !parsed ) {
|
||||||
parse_params();
|
parse_params();
|
||||||
parsed = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return parsed_params.size();
|
return parsed_params.size();
|
||||||
|
|||||||
@@ -73,10 +73,10 @@ namespace Terminal {
|
|||||||
public:
|
public:
|
||||||
int cursor_col, cursor_row;
|
int cursor_col, cursor_row;
|
||||||
Renditions renditions;
|
Renditions renditions;
|
||||||
/* character set shift state */
|
/* not implemented: character set shift state */
|
||||||
bool auto_wrap_mode;
|
bool auto_wrap_mode;
|
||||||
bool origin_mode;
|
bool origin_mode;
|
||||||
/* state of selective erase */
|
/* not implemented: state of selective erase */
|
||||||
|
|
||||||
SavedCursor();
|
SavedCursor();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
using namespace Terminal;
|
using namespace Terminal;
|
||||||
|
|
||||||
/* Terminal functions -- routines activated by CSI, escape or a C1 or C2 control char */
|
/* Terminal functions -- routines activated by CSI, escape or a control char */
|
||||||
|
|
||||||
static void clearline( Framebuffer *fb, int row, int start, int end )
|
static void clearline( Framebuffer *fb, int row, int start, int end )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user