summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-26 20:36:30 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-26 20:36:30 +0000
commit818df923debfcd9194314ee05e64cc62fbbb5458 (patch)
treea9c8295385ef6feace44377fae0ed0542fb4e416 /client.c
parentd61a63c04ef4fad938713493366dbec1cf2c34eb (diff)
Add ^A && ^E to copy mode. Also use STDIN instead of STDOUT in a couple of places.
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index a9307f60..1bf97966 100644
--- a/client.c
+++ b/client.c
@@ -1,4 +1,4 @@
-/* $Id: client.c,v 1.21 2007-11-12 15:12:08 nicm Exp $ */
+/* $Id: client.c,v 1.22 2007-11-26 20:36:30 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -102,7 +102,7 @@ retry:
cctx->srv_in = buffer_create(BUFSIZ);
cctx->srv_out = buffer_create(BUFSIZ);
- if (isatty(STDIN_FILENO) && isatty(STDOUT_FILENO)) {
+ if (isatty(STDIN_FILENO)) {
if (ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) == -1) {
log_warn("ioctl(TIOCGWINSZ)");
return (-1);