myadm

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

commit cf0648acb50afd8ce1f4a64ab0edd15de8835d05
parent 267bb5f874db73bc6c01e3f0ced978ed3bda270f
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Sun, 20 Mar 2016 19:31:58 +0100

Refresh help.

Diffstat:
Mcore.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/core.c b/core.c @@ -359,12 +359,11 @@ void help(const Arg *arg) { int refresh = (selview && !strcmp(selview->mode->name, "help")); - if(!refresh) { + if(!refresh) selview = newaview("help", help); - selview->form = stfl_create(L"<help.stfl>"); - } else - stfl_setf("status", "Text updated."); + stfl_free(selview->form); + selview->form = stfl_create(L"<help.stfl>"); } void