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 */
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#ifdef TTY_GRAPHICS
|
||||
|
||||
#if !defined(MSDOS) && !defined(MAC)
|
||||
#if !defined(MAC)
|
||||
#define NEWAUTOCOMP
|
||||
#endif
|
||||
|
||||
|
||||
@@ -686,17 +686,11 @@ tty_askname()
|
||||
if(ct) {
|
||||
ct--;
|
||||
#if defined(MICRO) || defined(WIN32CON)
|
||||
# if defined(WIN32CON)
|
||||
# if defined(WIN32CON) || defined(MSDOS)
|
||||
backsp(); /* \b is visible on NT */
|
||||
(void) putchar(' ');
|
||||
backsp();
|
||||
# else
|
||||
# if defined(MSDOS)
|
||||
if (iflags.grmode) {
|
||||
backsp();
|
||||
} else
|
||||
|
||||
# endif
|
||||
msmsg("\b \b");
|
||||
# endif
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user