diff options
author | Maximilian Gass <mxey@arcor.de> | 2007-09-28 21:41:52 +0000 |
---|---|---|
committer | Maximilian Gass <mxey@arcor.de> | 2007-09-28 21:41:52 +0000 |
commit | d2e035f892ac8b21889e0124157a9be4f94462d3 (patch) | |
tree | 9a712e5870d0fb8959ba3ef27ab58567c4a2e192 /tmux.h | |
parent | 32a80a73a1c498c554371ca0adecacdd72df4b8a (diff) | |
download | rtmux-d2e035f892ac8b21889e0124157a9be4f94462d3.tar.gz rtmux-d2e035f892ac8b21889e0124157a9be4f94462d3.tar.bz2 rtmux-d2e035f892ac8b21889e0124157a9be4f94462d3.zip |
Added window renaming support (tmux rename)
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.19 2007-09-28 19:04:21 nicm Exp $ */ +/* $Id: tmux.h,v 1.20 2007-09-28 21:41:52 mxey Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -341,6 +341,12 @@ struct refresh_data { u_int py_lower; }; +struct rename_data { + int idx; + struct sessid sid; + char newname[MAXNAMELEN]; +}; + /* Attributes. */ #define ATTR_BRIGHT 0x1 #define ATTR_DIM 0x2 @@ -448,6 +454,7 @@ void sigreset(void); /* op.c */ int op_new(char *, int, char **); int op_attach(char *, int, char **); +int op_rename(char *, int, char **); /* op-list.c */ int op_list_sessions(char *, int, char **); |