commit f784b03b5d5595d9aa1427fa62cd6423925a8030
parent 01919fd716b474dc5c5e3ced502938e97273d6e7
Author: Claudio Alessi <smoppy@gmail.com>
Date: Thu, 12 May 2016 23:40:05 +0200
Add some more info (breadcrumbs).
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/myadm.c b/myadm.c
@@ -835,7 +835,7 @@ viewdb_show(void) {
mysql_fillview(res, 0);
mysql_free_result(res);
ui_listview(selview->items, NULL);
- ui_set("title", "Tables in `%s`", selview->choice->cols[0]);
+ ui_set("title", "Tables in `%s`@%s", selview->choice->cols[0], dbhost);
ui_set("info", "%d table(s)", selview->nitems);
}
@@ -889,7 +889,8 @@ viewtable_show(void) {
mysql_fillview(res, 1);
mysql_free_result(res);
ui_listview(selview->items, selview->fields);
- ui_set("title", "Records in `%s`", choice->cols[0]);
+ ui_set("title", "Records in `%s`.`%s`@%s",
+ selview->next->choice->cols[0], choice->cols[0],dbhost);
ui_set("info", "%d record(s)", selview->nitems);
}