chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
380ec16
)
Notify that the prompt is unusable while loading
author
Jonas Fonseca
<fonseca@diku.dk>
Sun, 28 May 2006 01:51:53 +0000
(
03:51
+0200)
committer
Jonas Fonseca
<fonseca@antimatter.localdomain>
Sun, 28 May 2006 01:51:53 +0000
(
03:51
+0200)
List it as a bug.
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index 0237cb095966f8e684f52f8850a40039511ac744..308106b6dbdd6b64998eb702d102b350488f90dc 100644
(file)
--- 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)
case REQ_STOP_LOADING:
foreach_view (view, i) {
if (view->pipe)
- report("Stopped load
ed
the %s view", view->name),
+ report("Stopped load
ing
the %s view", view->name),
end_update(view);
}
break;
end_update(view);
}
break;
@@
-2540,7
+2540,9
@@
main(int argc, char *argv[])
memcpy(opt_cmd, "git ", 4);
opt_request = REQ_VIEW_PAGER;
} else {
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();
}
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 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.
* TODO
* ----
* Features that should be explored.