From 42272dfbd5058724fc094eb3ea438ec6b7eb6cff Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 24 Sep 2012 13:05:10 +0000 Subject: Use pgrp of pty fd not pid of immediate child when recovering current working directory (like current process). From Marcel Partap. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index c208361b..90019bf2 100644 --- a/tmux.h +++ b/tmux.h @@ -2277,7 +2277,7 @@ u_int utf8_split2(u_int, u_char *); /* procname.c */ char *get_proc_name(int, char *); -char *get_proc_cwd(pid_t); +char *get_proc_cwd(int); /* log.c */ void log_open(int, const char *); -- cgit From 84612a8196341839c5a18362b68047aa1b011a50 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 24 Sep 2012 13:39:10 +0000 Subject: Add control_write_buffer, from George Nachman. --- tmux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 90019bf2..b1e1eeeb 100644 --- a/tmux.h +++ b/tmux.h @@ -2221,6 +2221,7 @@ void clear_signals(int); /* control.c */ void control_callback(struct client *, int, void*); void printflike2 control_write(struct client *, const char *, ...); +void control_write_buffer(struct client *, struct evbuffer *); /* control-notify.c */ void control_notify_window_layout_changed(struct window *); -- cgit