]> xenbits.xensource.com Git - seabios.git/commitdiff
vgabios: Don't interpret TAB character.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 8 Feb 2014 17:29:20 +0000 (12:29 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 8 Feb 2014 17:29:20 +0000 (12:29 -0500)
Several sources document that the Bell, Backspace, newline, and
carriage return characters are interpreted by int 10/0e.  There does
not seem to be any references to that function interpreting tab.  The
original "lgpl vgabios" has code for interpreting tab, but the code is
incorrect.  Finally, tests on an ATI vgabios indicate that tab is not
interpreted.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
vgasrc/vgabios.c

index b6d9dc23de29c7e2aef77a92f7a49cae8f8c67e6..65d325a9f5268e9bd5c2bb7b14745abf81d38c48 100644 (file)
@@ -203,13 +203,6 @@ write_teletype(struct cursorpos *pcp, struct carattr ca)
     case '\n':
         cp.y++;
         break;
-    case '\t':
-        ca.car = ' ';
-        do {
-            vgafb_write_char(cp, ca);
-            cp.x++;
-        } while (cp.x < nbcols && cp.x % 8);
-        break;
     default:
         vgafb_write_char(cp, ca);
         cp.x++;