summaryrefslogtreecommitdiffstats
path: root/usr.bin/window/char.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/window/char.h')
-rw-r--r--usr.bin/window/char.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/window/char.h b/usr.bin/window/char.h
index dd4ad27..fc05cfa 100644
--- a/usr.bin/window/char.h
+++ b/usr.bin/window/char.h
@@ -57,5 +57,5 @@ extern char *_unctrl[];
#define ctrl(c) (c & 0x1f)
#define unctrl(c) (_unctrl[(unsigned char) (c)])
#define isctrl(c) iscntrl((unsigned char)(c))
-#define isprt(c) isprint((unsigned char)(c))
+#define isprt(c) (isprint((unsigned char)(c)) || (c) == '\t')
#define isunctrl(c) (strchr("\b\t\n\r", (c)) == NULL && isctrl(c))
OpenPOWER on IntegriCloud