mirror of
https://github.com/rfivet/uemacs.git
synced 2024-06-10 05:50:42 +00:00
Tabs are rendered as spaces on message line. This fixes debug info when $debug is TRUE.
This commit is contained in:
parent
90c170e200
commit
405d8683dc
|
@ -1420,8 +1420,9 @@ static void mlputs( unsigned char *s) {
|
||||||
unicode_t c ;
|
unicode_t c ;
|
||||||
|
|
||||||
while( ((c = *s++) != 0) && (ttcol < term.t_ncol)) {
|
while( ((c = *s++) != 0) && (ttcol < term.t_ncol)) {
|
||||||
/* Accept UTF-8 sequence */
|
if( c == '\t') /* Don't render tabulation */
|
||||||
if( c > 0xC1 && c <= 0xF4) {
|
c = ' ' ;
|
||||||
|
else if( c > 0xC1 && c <= 0xF4) { /* Accept UTF-8 sequence */
|
||||||
char utf[ 4] ;
|
char utf[ 4] ;
|
||||||
char cc ;
|
char cc ;
|
||||||
int bytes ;
|
int bytes ;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user