Include xterm BEL sequence to terminate OSC, standardize Makefile variables

This commit is contained in:
Keith Winstein
2011-01-10 03:51:55 -05:00
parent 546068a5ed
commit 3174e4f659
3 changed files with 10 additions and 8 deletions
+3 -1
View File
@@ -12,6 +12,7 @@
#include <assert.h>
#include <wctype.h>
#include <iostream>
#include <typeinfo>
#include "parser.hpp"
@@ -253,8 +254,9 @@ int vt_parser( struct stripstate *state )
for ( std::vector<Parser::Action>::iterator j = actions.begin();
j != actions.end();
j++ ) {
if ( j->char_present ) {
printf( "%s(%lc) ", j->name.c_str(), j->ch );
printf( "%s(0x%02d=%lc) ", j->name.c_str(), j->ch, j->ch );
} else {
printf( "[%s] ", j->name.c_str() );
}