MSDOS autocompletion fix

This commit is contained in:
nethack.allison
2002-12-24 02:20:50 +00:00
parent 92b7f7daff
commit 03456ea341
4 changed files with 2 additions and 19 deletions

View File

@@ -126,21 +126,12 @@ txt_backsp()
int86(DOS_EXT_FUNC, &regs, &regs);
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, &regs, &regs);
# 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
}

View File

@@ -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 */