diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-26 20:36:30 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-26 20:36:30 +0000 |
commit | 818df923debfcd9194314ee05e64cc62fbbb5458 (patch) | |
tree | a9c8295385ef6feace44377fae0ed0542fb4e416 /local.c | |
parent | d61a63c04ef4fad938713493366dbec1cf2c34eb (diff) | |
download | rtmux-818df923debfcd9194314ee05e64cc62fbbb5458.tar.gz rtmux-818df923debfcd9194314ee05e64cc62fbbb5458.tar.bz2 rtmux-818df923debfcd9194314ee05e64cc62fbbb5458.zip |
Add ^A && ^E to copy mode. Also use STDIN instead of STDOUT in a couple of places.
Diffstat (limited to 'local.c')
-rw-r--r-- | local.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: local.c,v 1.22 2007-11-25 10:59:44 nicm Exp $ */ +/* $Id: local.c,v 1.23 2007-11-26 20:36:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -243,7 +243,7 @@ local_init(struct buffer **in, struct buffer **out) NULL }; - if ((tty = ttyname(STDOUT_FILENO)) == NULL) + if ((tty = ttyname(STDIN_FILENO)) == NULL) fatal("ttyname failed"); if ((local_fd = open(tty, O_RDWR)) == -1) fatal("open failed"); |