aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/terminal/terminal.cc
diff options
context:
space:
mode:
authorGravatar Keith Winstein <keithw@cs.stanford.edu>2016-02-10 21:53:20 -0800
committerGravatar Keith Winstein <keithw@cs.stanford.edu>2016-02-10 22:06:18 -0800
commite7303e0b666c6f19b7e3417710217ee4ec95460e (patch)
tree245b592c0348afd19df92c37061516cfabfbdd4c /src/terminal/terminal.cc
parent8200d5bdf03e478cb5c17586f338340b79346e6d (diff)
Eliminated "handled" field in Parser::Action
This field was used during development to measure the coverage of the ANSI terminal parser against typical terminal input sequences. The "handled" field has not been read by any code since commit 1ee54cd7 (February 2011). Eliminating the field by popular request (closes #723).
Diffstat (limited to 'src/terminal/terminal.cc')
-rw-r--r--src/terminal/terminal.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/terminal/terminal.cc b/src/terminal/terminal.cc
index 443d9c6..971b578 100644
--- a/src/terminal/terminal.cc
+++ b/src/terminal/terminal.cc
@@ -118,13 +118,11 @@ void Emulator::print( const Parser::Print *act )
fb.ds.move_col( chwidth, true, true );
- act->handled = true;
break;
case 0: /* combining character */
{
Cell *combining_cell = fb.get_combining_cell(); /* can be null if we were resized */
if ( combining_cell == NULL ) { /* character is now offscreen */
- act->handled = true;
break;
}
@@ -141,7 +139,6 @@ void Emulator::print( const Parser::Print *act )
if ( !combining_cell->full() ) {
combining_cell->append( ch );
}
- act->handled = true;
}
break;
case -1: /* unprintable character */