]> granicus.if.org Git - nethack/commitdiff
MSDOS autocompletion fix
authornethack.allison <nethack.allison>
Tue, 24 Dec 2002 02:20:50 +0000 (02:20 +0000)
committernethack.allison <nethack.allison>
Tue, 24 Dec 2002 02:20:50 +0000 (02:20 +0000)
sys/msdos/vidtxt.c
sys/msdos/vidvga.c
win/tty/getline.c
win/tty/wintty.c

index a41fd5812491326a40d2f41feea770fbec6b7174..692659efd8dee300fd656c48a68ba0e60b403988 100644 (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
 }
 
index caa997bf0134ba24490a22f55adca65731276654..00a14752f2535671ba79fc2f3d6b07b55fb172c2 100644 (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 */
index fded0d3b4caccd129f76d6302ebd5ef0ca885dde..c897cb83a1d58fce6783673f856ab8ebe3090e3d 100644 (file)
@@ -6,7 +6,7 @@
 
 #ifdef TTY_GRAPHICS
 
-#if !defined(MSDOS) && !defined(MAC)
+#if !defined(MAC)
 #define NEWAUTOCOMP
 #endif
 
index ce9311e50d8c25bfe812875eff5757dd930043c9..f5ebe95986a5c00faa9e9ef40621977cf16327e3 100644 (file)
@@ -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