freebsd-ports/games/nethack36/files/patch-win-tty-termcap.c
Greg Lewis 0fdded38b5 . Add a port of NetHack 3.6.0
PR:		205255
Submitted by:	groot@kde.org
2016-01-24 04:04:30 +00:00

13 lines
424 B
C

--- win/tty/termcap.c.orig 2015-11-11 10:05:22 UTC
+++ win/tty/termcap.c
@@ -206,10 +206,6 @@ int *wid, *hgt;
error("Terminal must backspace.");
#else
if (!(BC = Tgetstr("bc"))) { /* termcap also uses bc/bs */
-#ifndef MINIMAL_TERM
- if (!tgetflag("bs"))
- error("Terminal must backspace.");
-#endif
BC = tbufptr;
tbufptr += 2;
*BC = '\b';