diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2006-09-12 21:13:07 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2006-09-12 21:13:07 -0700 |
| commit | 3ddcad33721f202a47247f3355754c29cd2876a8 (patch) | |
| tree | 2628659f90e6fb575e7d5c991bf63b665206b680 /com32/lib/sys/xserial_write.c | |
| parent | 02fad14dc983930faeea0760c2d175441dad52cf (diff) | |
| download | syslinux-3.30-pre5.tar.gz | |
For SOH codes, always issue a leading zero resetsyslinux-3.30-pre5
Diffstat (limited to 'com32/lib/sys/xserial_write.c')
| -rw-r--r-- | com32/lib/sys/xserial_write.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/lib/sys/xserial_write.c b/com32/lib/sys/xserial_write.c index 6b3fbaf9..f119083a 100644 --- a/com32/lib/sys/xserial_write.c +++ b/com32/lib/sys/xserial_write.c @@ -98,6 +98,8 @@ ssize_t __xserial_write(struct file_info *fp, const void *buf, size_t count) if (ncolor < console_color_table_size) { emit('\033'); emit('['); + emit('0'); + emit(';'); for (p = console_color_table[ncolor].ansi; *p; p++) emit(*p); emit('m'); |
