mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-12 18:28:50 +01:00
one tab become two spaces
This commit is contained in:
parent
5e37a70a51
commit
52b2aaae11
@ -682,7 +682,13 @@ void loop() {
|
||||
{
|
||||
fread(readbuf,1, 1,fp);
|
||||
//printf("read %x",readbuf[0]);
|
||||
parse_serial_stream(&g_config,readbuf[0]);
|
||||
if(readbuf[0] == ASCII_TAB) {
|
||||
readbuf[0] = ' ';
|
||||
parse_serial_stream(&g_config,readbuf[0]);
|
||||
parse_serial_stream(&g_config,readbuf[0]);
|
||||
}else{
|
||||
parse_serial_stream(&g_config,readbuf[0]);
|
||||
}
|
||||
}
|
||||
fclose(fp);
|
||||
g_config.fp = NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user