MSDOS autocompletion fix
This commit is contained in:
@@ -126,21 +126,12 @@ txt_backsp()
|
|||||||
|
|
||||||
int86(DOS_EXT_FUNC, ®s, ®s);
|
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
|
# else
|
||||||
int col,row;
|
int col,row;
|
||||||
|
|
||||||
txt_get_cursor(&col, &row);
|
txt_get_cursor(&col, &row);
|
||||||
if (col > 0) col = col-1;
|
if (col > 0) col = col-1;
|
||||||
txt_gotoxy(col,row);
|
txt_gotoxy(col,row);
|
||||||
txt_xputc(' ',attrib_text_normal);
|
|
||||||
txt_gotoxy(col,row);
|
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -228,8 +228,6 @@ vga_backsp()
|
|||||||
|
|
||||||
if (col > 0) col = col-1;
|
if (col > 0) col = col-1;
|
||||||
vga_gotoloc(col,row);
|
vga_gotoloc(col,row);
|
||||||
vga_xputc(' ',g_attribute);
|
|
||||||
vga_gotoloc(col,row);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# endif /* OVLB */
|
# endif /* OVLB */
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#ifdef TTY_GRAPHICS
|
#ifdef TTY_GRAPHICS
|
||||||
|
|
||||||
#if !defined(MSDOS) && !defined(MAC)
|
#if !defined(MAC)
|
||||||
#define NEWAUTOCOMP
|
#define NEWAUTOCOMP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -686,17 +686,11 @@ tty_askname()
|
|||||||
if(ct) {
|
if(ct) {
|
||||||
ct--;
|
ct--;
|
||||||
#if defined(MICRO) || defined(WIN32CON)
|
#if defined(MICRO) || defined(WIN32CON)
|
||||||
# if defined(WIN32CON)
|
# if defined(WIN32CON) || defined(MSDOS)
|
||||||
backsp(); /* \b is visible on NT */
|
backsp(); /* \b is visible on NT */
|
||||||
(void) putchar(' ');
|
(void) putchar(' ');
|
||||||
backsp();
|
backsp();
|
||||||
# else
|
# else
|
||||||
# if defined(MSDOS)
|
|
||||||
if (iflags.grmode) {
|
|
||||||
backsp();
|
|
||||||
} else
|
|
||||||
|
|
||||||
# endif
|
|
||||||
msmsg("\b \b");
|
msmsg("\b \b");
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user