aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.c')
-rw-r--r--src/cmd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmd.c b/src/cmd.c
index 34dc2f4..c2d5e57 100644
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.8 2008/02/29 22:50:29 james
+ * *** empty log message ***
+ *
* Revision 1.7 2008/02/28 22:00:42 james
* *** empty log message ***
*
@@ -137,6 +140,14 @@ cmd_key (Cmd * c, Context * ctx,ANSI *a, int key)
int
+cmd_deactivate (Cmd * c, Context * ctx)
+{
+ c->active = 0;
+ cmd_show_status (c, ctx);
+ return 0;
+}
+
+int
cmd_activate (Cmd * c, Context * ctx)
{
c->active = 1;