From 6a7bb912e604ba64776ee45363d112e110366707 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 28 May 2006 03:51:53 +0200 Subject: [PATCH] Notify that the prompt is unusable while loading List it as a bug. --- tig.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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. -- 2.30.2