diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-27 09:15:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-27 09:15:58 +0000 |
commit | 3fa8f1636486420b9f27b129dbd0f36015d4c24b (patch) | |
tree | c018e47c9eb2d78f518a941e7cd87ebe2eb63ab9 /tmux.c | |
parent | 187648e8d1d6bc80113e829d7895e1c81ddd3c17 (diff) | |
download | rtmux-3fa8f1636486420b9f27b129dbd0f36015d4c24b.tar.gz rtmux-3fa8f1636486420b9f27b129dbd0f36015d4c24b.tar.bz2 rtmux-3fa8f1636486420b9f27b129dbd0f36015d4c24b.zip |
Adjust $TMUX environ var to include session index, and don't compact session list on release. Also fix some argument types.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.13 2007-09-26 19:38:42 nicm Exp $ */ +/* $Id: tmux.c,v 1.14 2007-09-27 09:15:58 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -45,8 +45,10 @@ struct op { }; struct op op_table[] = { { "attach", NULL, op_attach }, - { "list-sessions", "ls", op_list }, - { "new-session", "new", op_new }, + { "list-sessions", "ls", op_list/*_sessions*/ }, + { "new-session", "new", op_new/*_session*/ }, +// { "rename-window", "rw", op_rename_window }, +// { "rename-session", "rs", op_rename_session }, }; #define NOP (sizeof op_table / sizeof op_table[0]) |