summaryrefslogtreecommitdiff
path: root/attach.c
diff options
context:
space:
mode:
authorNed T. Crigler <crigler@users.sourceforge.net>2006-06-03 01:28:20 +0000
committerNed T. Crigler <crigler@users.sourceforge.net>2006-06-03 01:28:20 +0000
commit5f6d552d2cdb017e7934620770e2a8c535b41525 (patch)
tree46aee713ac957f2e3e012367dfc4a995aa3bbc2b /attach.c
parent3b070abf7ad3f8e9787dc5c30b81e42b1d6121bc (diff)
Print an error message if we could not execute the desired command, instead of
exiting silently. Also make sure the master process waits until the client attaches when using the -A and -c modes, so that the error message has a chance of being seen.
Diffstat (limited to 'attach.c')
-rw-r--r--attach.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/attach.c b/attach.c
index 6a7713b..ece56db 100644
--- a/attach.c
+++ b/attach.c
@@ -34,9 +34,6 @@ static struct termios cur_term;
/* 1 if the window size changed */
static int win_changed;
-/* This hopefully moves to the bottom of the screen */
-#define EOS "\033[999H"
-
/* Restores the original terminal settings. */
static void
restore_term(void)