From: Jonas Fonseca Date: Sun, 28 May 2006 01:51:53 +0000 (+0200) Subject: Notify that the prompt is unusable while loading X-Git-Tag: tig-0.4~39 X-Git-Url: https://git.distorted.org.uk/~mdw/tig/commitdiff_plain/6a7bb912e604ba64776ee45363d112e110366707 Notify that the prompt is unusable while loading List it as a bug. --- diff --git a/tig.c b/tig.c index 0237cb0..308106b 100644 --- a/tig.c +++ b/tig.c @@ -1474,7 +1474,7 @@ view_driver(struct view *view, enum request request) case REQ_STOP_LOADING: foreach_view (view, i) { if (view->pipe) - report("Stopped loaded the %s view", view->name), + report("Stopped loading the %s view", view->name), end_update(view); } break; @@ -2540,7 +2540,9 @@ main(int argc, char *argv[]) memcpy(opt_cmd, "git ", 4); opt_request = REQ_VIEW_PAGER; } else { - request = ERR; + report("Prompt interrupted by loading view, " + "press 'z' to stop loading views"); + request = REQ_SCREEN_UPDATE; } noecho(); @@ -2679,6 +2681,8 @@ main(int argc, char *argv[]) * - The cursor can wrap-around on the last line and cause the * window to scroll. * + * - The prompt doesn't work while loading. + * * TODO * ---- * Features that should be explored.