Re: [Vimprobable-users] Move commands to main.c, get rid of COMMANDSIZE
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Hannes S. <ha...@yl...> - 2015-05-07 20:15:58
|
Hi Morgan! Morgan Howe <mt...@gm...>: > This patch moves the commands out of the header file and into main.c > and makes the COMMANDSIZE a compile time calculated const value. This > makes it so we don't need to remember to update that value each time a > new command is added, reduces likelihood of merge conflicts when > adding new commands, and should make things a bit more flexible in the > future (user defined colon commands?). Getting rid off COMMANDSIZE is definitely a good idea. Moving the whole thing into main.c, though, which is already overcrowded? Maybe there is a possible middle ground somewhere? Hannes |