Don't use string for command and params in keybinding.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 14 Jun 2013 00:32:04 +0000 (02:32 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 14 Jun 2013 00:35:32 +0000 (02:35 +0200)
commit3e9077078ca72cdd8b25d8fc04938188c14cd4f6
tree242feb32c803f6f8b3401a3d1da661bb615c9471
parentfbdb3249e4e86d02b5b131c56b32cb7b68b43dd9
Don't use string for command and params in keybinding.

It wasn't a good approach to use string for the command and it's params to
call if a keybinding is used. Now we translate the command string and
parameters to the right command function and a prepared Arg parameter. This
will save system resources during runtime.
gmon.out [new file with mode: 0644]
src/command.c
src/command.h
src/keybind.c
src/keybind.h