From 3fa8f1636486420b9f27b129dbd0f36015d4c24b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 27 Sep 2007 09:15:58 +0000 Subject: Adjust $TMUX environ var to include session index, and don't compact session list on release. Also fix some argument types. --- tmux.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index 52ad920a..56845b7f 100644 --- a/tmux.c +++ b/tmux.c @@ -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 @@ -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]) -- cgit