chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[sympathy.git]
/
src
/
cmd.c
diff --git
a/src/cmd.c
b/src/cmd.c
index bf5be83ebba0f06d22824ad12cfa2842f2635140..7105c5b1a28bf920c9c4046194e55bea767bff8e 100644
(file)
--- a/
src/cmd.c
+++ b/
src/cmd.c
@@
-10,6
+10,9
@@
static char rcsid[] = "$Id$";
/*
* $Log$
/*
* $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 ***
*
* 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);
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))
if (!strncmp (buf, "baud", 4))
ctx->k->set_baud (ctx->k, ctx, atoi (buf + 4));
if (!strncmp (buf, "break", 4))