MSDOS autocompletion fix
This commit is contained in:
@@ -126,21 +126,12 @@ txt_backsp()
|
||||
|
||||
int86(DOS_EXT_FUNC, ®s, ®s);
|
||||
|
||||
txt_xputc(' ',attrib_text_normal);
|
||||
|
||||
regs.h.dl = 0x01; /* one column */
|
||||
regs.h.ah = CURSOR_LEFT;
|
||||
regs.h.cl = DIRECT_CON_IO;
|
||||
|
||||
(void) int86(DOS_EXT_FUNC, ®s, ®s);
|
||||
# else
|
||||
int col,row;
|
||||
|
||||
txt_get_cursor(&col, &row);
|
||||
if (col > 0) col = col-1;
|
||||
txt_gotoxy(col,row);
|
||||
txt_xputc(' ',attrib_text_normal);
|
||||
txt_gotoxy(col,row);
|
||||
# endif
|
||||
}
|
||||
|
||||
|
||||
@@ -228,8 +228,6 @@ vga_backsp()
|
||||
|
||||
if (col > 0) col = col-1;
|
||||
vga_gotoloc(col,row);
|
||||
vga_xputc(' ',g_attribute);
|
||||
vga_gotoloc(col,row);
|
||||
}
|
||||
|
||||
# endif /* OVLB */
|
||||
|
||||
Reference in New Issue
Block a user