diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-04 10:40:11 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-04 10:40:11 +0300 |
commit | 80eeaa4a1254c05ab1d5514f6a77c937b4ccd299 (patch) | |
tree | fa6a7bc1266bf8fa44807a5ac14afd013860111f | |
parent | 9cbd28d0cb5ed59fe34d8a8e1a03fd8debdefd4c (diff) | |
download | videoteco-fork-80eeaa4a1254c05ab1d5514f6a77c937b4ccd299.tar.gz |
fixed echoing of control characters at the end of the line
This had been broken even before my mungings.
-rw-r--r-- | tecdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2205,7 +2205,7 @@ char expand_buffer[MAXOF(32,MAX_TAB_WIDTH+1)]; multi_byte_echo = NULL; multi_byte_echo_reverse = 0; - while(byte_count > 0){ + while(byte_count > 0 || multi_byte_echo){ if(current_column >= term_columns){ sbp->fmt_next_line = allocate_format_buffer(wptr,lbp); @@ -2235,7 +2235,7 @@ char expand_buffer[MAXOF(32,MAX_TAB_WIDTH+1)]; }/* End Else */ /* without possible SCREEN_M_REVERSE flags */ - c_data = c & 0xFF; + c_data = c & SCREEN_M_DATA; switch(c_data){ case '\t': |