diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 22:04:01 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 22:04:01 +0000 |
commit | 26b340964a55f754a3001c18598f670d20578777 (patch) | |
tree | cbb50f760ffe96ad17e4e3495ec0fe4a3a8a9a74 /tmux.h | |
parent | 75e1e4b91e083c82f48de5f426b3cfc6c7c5a7df (diff) | |
download | rtmux-26b340964a55f754a3001c18598f670d20578777.tar.gz rtmux-26b340964a55f754a3001c18598f670d20578777.tar.bz2 rtmux-26b340964a55f754a3001c18598f670d20578777.zip |
Lose command index enum in favour of runtime-calculated index.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.49 2007-10-04 21:48:11 nicm Exp $ */ +/* $Id: tmux.h,v 1.50 2007-10-04 22:04:01 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -456,24 +456,6 @@ struct client_ctx { }; /* Key/command line command. */ -enum cmd_type { - CMD_ATTACHSESSION, - CMD_BINDKEY, - CMD_DETACHSESSION, - CMD_LASTWINDOW, - CMD_LISTKEYS, - CMD_LISTSESSIONS, - CMD_LISTWINDOWS, - CMD_NEWSESSION, - CMD_NEWWINDOW, - CMD_NEXTWINDOW, - CMD_PREVIOUSWINDOW, - CMD_RENAMEWINDOW, - CMD_SELECTWINDOW, - CMD_SETOPTION, - CMD_UNBINDKEY, -}; - struct cmd_ctx { struct client *client; struct session *session; @@ -486,7 +468,6 @@ struct cmd_ctx { }; struct cmd_entry { - enum cmd_type type; const char *name; const char *alias; const char *usage; |