[BACK]Return to map.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libedit

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libedit/map.c between version 1.31 and 1.31.6.1

version 1.31, 2011/11/18 20:39:18 version 1.31.6.1, 2013/02/25 00:27:56
Line 1249  map_bind(EditLine *el, int argc, const C
Line 1249  map_bind(EditLine *el, int argc, const C
         Char inbuf[EL_BUFSIZ];          Char inbuf[EL_BUFSIZ];
         Char outbuf[EL_BUFSIZ];          Char outbuf[EL_BUFSIZ];
         const Char *in = NULL;          const Char *in = NULL;
         Char *out = NULL;          Char *out;
         el_bindings_t *bp, *ep;          el_bindings_t *bp, *ep;
         int cmd;          int cmd;
         int key;          int key;
Line 1368  map_bind(EditLine *el, int argc, const C
Line 1368  map_bind(EditLine *el, int argc, const C
                         return -1;                          return -1;
                 }                  }
                 if (key)                  if (key)
                         terminal_set_arrow(el, in, keymacro_map_str(el, out), ntype);                          terminal_set_arrow(el, in, keymacro_map_cmd(el, cmd), ntype);
                 else {                  else {
                         if (in[1]) {                          if (in[1]) {
                                 keymacro_add(el, in, keymacro_map_cmd(el, cmd), ntype);                                  keymacro_add(el, in, keymacro_map_cmd(el, cmd), ntype);

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.31.6.1

CVSweb <webmaster@jp.NetBSD.org>