aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.c
diff options
context:
space:
mode:
authorjames <>2008-02-22 17:07:00 +0000
committerjames <>2008-02-22 17:07:00 +0000
commita7a1526ef4fed8460a87713fac159cc714bfde77 (patch)
treee198c9785f1d883a5a1804204bd7d8ac834f499f /src/cmd.c
parent980bd369ac8759c8a1df6fea7cbb5bfc8fee7afc (diff)
downloadsympathy-a7a1526ef4fed8460a87713fac159cc714bfde77.tar.gz
sympathy-a7a1526ef4fed8460a87713fac159cc714bfde77.tar.bz2
sympathy-a7a1526ef4fed8460a87713fac159cc714bfde77.zip
*** empty log message ***
Diffstat (limited to 'src/cmd.c')
-rw-r--r--src/cmd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd.c b/src/cmd.c
index bf5be83..7105c5b 100644
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.3 2008/02/22 17:07:00 james
+ * *** empty log message ***
+ *
* Revision 1.2 2008/02/15 23:52:12 james
* *** empty log message ***
*
@@ -31,6 +34,10 @@ cmd_parse (Cmd * c, Context * ctx, char *buf)
ctx->k->set_flow (ctx->k, ctx, 1);
if (!strcmp (buf, "noflow"))
ctx->k->set_flow (ctx->k, ctx, 0);
+ if (!strcmp (buf, "ansi"))
+ ctx->k->set_ansi (ctx->k, ctx, 0);
+ if (!strcmp (buf, "noansi"))
+ ctx->k->set_ansi (ctx->k, ctx, 1);
if (!strncmp (buf, "baud", 4))
ctx->k->set_baud (ctx->k, ctx, atoi (buf + 4));
if (!strncmp (buf, "break", 4))