aboutsummaryrefslogtreecommitdiff
path: root/console-tools/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/reset.c')
-rw-r--r--console-tools/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/reset.c b/console-tools/reset.c
index a2bf44d9f..5d5d4e27b 100644
--- a/console-tools/reset.c
+++ b/console-tools/reset.c
@@ -26,7 +26,7 @@ int reset_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
26 26
27 /* no options, no getopt */ 27 /* no options, no getopt */
28 28
29 if (isatty(0) && isatty(1)) { 29 if (isatty(STDIN_FILENO) && isatty(STDOUT_FILENO)) {
30 /* See 'man 4 console_codes' for details: 30 /* See 'man 4 console_codes' for details:
31 * "ESC c" -- Reset 31 * "ESC c" -- Reset
32 * "ESC ( K" -- Select user mapping 32 * "ESC ( K" -- Select user mapping