New lock-client and lock-session commands to lock an individual client or all

clients attached to a session respectively.
This commit is contained in:
Nicholas Marriott
2009-09-24 14:17:09 +00:00
parent 1764ef81ef
commit 8fa1858a2c
7 changed files with 166 additions and 17 deletions

4
tmux.h
View File

@ -1326,7 +1326,9 @@ extern const struct cmd_entry cmd_list_keys_entry;
extern const struct cmd_entry cmd_list_sessions_entry;
extern const struct cmd_entry cmd_list_windows_entry;
extern const struct cmd_entry cmd_load_buffer_entry;
extern const struct cmd_entry cmd_lock_client_entry;
extern const struct cmd_entry cmd_lock_server_entry;
extern const struct cmd_entry cmd_lock_session_entry;
extern const struct cmd_entry cmd_move_window_entry;
extern const struct cmd_entry cmd_new_session_entry;
extern const struct cmd_entry cmd_new_window_entry;
@ -1457,6 +1459,8 @@ void server_status_session(struct session *);
void server_redraw_window(struct window *);
void server_status_window(struct window *);
void server_lock(void);
void server_lock_session(struct session *);
void server_lock_client(struct client *);
int server_unlock(const char *);
void server_kill_window(struct window *);
int server_link_window(