myadm

Simple MySQL client for the terminal
git clone git://git.bitsmanent.org/myadm
Log | Files | Refs | README | LICENSE

commit 9de57218728cd48e7c0a075f5d8d099da15d7b9c
parent ba8d7104161fe7da5a23935fa28910a03892758e
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Thu, 31 Mar 2016 11:15:24 +0200

Fix config.def.h keys order.

Diffstat:
Mconfig.def.h | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -17,6 +17,11 @@ static const char *dbpass = ""; static Key keys[] = { /* mode key function argument */ + { "databases", 'q', quit, {.i = 0} }, + { "databases", '\n', viewdb, {0} }, + { "databases", ' ', viewdb, {0} }, + { "tables", '\n', viewtable, {0} }, + { "tables", ' ', viewtable, {0} }, { NULL, 'Q', quit, {.i = 1} }, { NULL, 'q', viewprev, {0} }, { NULL, 'k', itemsel, {.i = -1} }, @@ -24,9 +29,4 @@ static Key keys[] = { { NULL, 'j', itemsel, {.i = +1} }, { NULL, KEY_DOWN, itemsel, {.i = +1} }, { NULL, 'I', reload, {0} }, - { "databases", 'q', quit, {.i = 0} }, - { "databases", '\n', viewdb, {0} }, - { "databases", ' ', viewdb, {0} }, - { "tables", '\n', viewtable, {0} }, - { "tables", ' ', viewtable, {0} }, };