Changeset 7360332 in mainline
- Timestamp:
- 2012-05-04T09:27:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6efb4d2
- Parents:
- 341b515
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/msim/helenos.c
r341b515 r7360332 48 48 */ 49 49 #define IGNORE_ANSI_ESCAPE_SEQUENCES 50 /* Define when you want the ANSI escape sequences to be dumped as 51 * hex numbers. 52 */ 53 // #define DUMP_ANSI_ESCAPE_SEQUENCES 50 54 51 55 extern char *input_helenos_get_next_command(void); … … 105 109 106 110 if (inside_ansi_escape) { 111 #ifdef DUMP_ANSI_ESCAPE_SEQUENCES 107 112 fprintf(stderr, "%02" PRIx32 "'%c' ", val, val >= 32 ? val : '?'); 113 #endif 108 114 if (isalpha((int) val)) { 109 115 just_ended_ansi_escape = true; 110 116 inside_ansi_escape = false; 117 #ifdef DUMP_ANSI_ESCAPE_SEQUENCES 111 118 fprintf(stderr, " [END]\n"); 119 #endif 112 120 } 113 121 … … 119 127 120 128 if (!just_ended_ansi_escape) { 129 #ifdef DUMP_ANSI_ESCAPE_SEQUENCES 121 130 fprintf(stderr, "\n"); 131 #endif 122 132 } 133 #ifdef DUMP_ANSI_ESCAPE_SEQUENCES 123 134 fprintf(stderr, "ESC sequence: "); 135 #endif 124 136 125 137 return;
Note:
See TracChangeset
for help on using the changeset viewer.