Mark UserByte actions handled

This commit is contained in:
Keith Winstein
2011-02-03 03:21:30 -05:00
parent bab4f23b44
commit 4ca5b35d7d
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ int termemu( int host_fd, int src_fd, bool user, int debug_fd,
act->act_on_terminal( terminal );
/* print out action for debugging */
if ( (debug_fd > 0) ) {
if ( (debug_fd > 0) && (!act->handled) ) {
char actsum[ 64 ];
snprintf( actsum, 64, "%s ", act->str().c_str() );
swrite( debug_fd, actsum );