| 162 | } |
| 163 | |
| 164 | keym **findbinda(const char *action, int type) |
| 165 | { |
| 166 | static vector<keym *> res; |
| 167 | res.setsize(0); |
| 168 | enumerate(keyms, keym, km, if(!strcasecmp(km.actions[type], action)) res.add(&km);); |
| 169 | res.add(NULL); |
| 170 | return res.getbuf(); |
| 171 | } |
| 172 | |
| 173 | keym *findbindc(int code) |
| 174 | { |