mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
vim-browse: fix for missing history overlay
This commit is contained in:
parent
63d9b8eefe
commit
72ee5f3307
5
x.c
5
x.c
@ -481,7 +481,7 @@ bpress(XEvent *e)
|
|||||||
pressKeys("v", 1);
|
pressKeys("v", 1);
|
||||||
historyOpToggle(-1, 1);
|
historyOpToggle(-1, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (TIMEDIFF(now, xsel.tclick2) <= tripleclicktimeout) {
|
if (TIMEDIFF(now, xsel.tclick2) <= tripleclicktimeout) {
|
||||||
snap = SNAP_LINE;
|
snap = SNAP_LINE;
|
||||||
@ -2228,6 +2228,9 @@ xdrawline(Line line, int x1, int y1, int x2)
|
|||||||
i = ox = 0;
|
i = ox = 0;
|
||||||
for (x = x1; x < x2 && i < numspecs; x++) {
|
for (x = x1; x < x2 && i < numspecs; x++) {
|
||||||
new = line[x];
|
new = line[x];
|
||||||
|
#if VIM_BROWSE_PATCH
|
||||||
|
historyOverlay(x, y1, &new);
|
||||||
|
#endif // VIM_BROWSE_PATCH
|
||||||
if (new.mode == ATTR_WDUMMY)
|
if (new.mode == ATTR_WDUMMY)
|
||||||
continue;
|
continue;
|
||||||
if (selected(x, y1))
|
if (selected(x, y1))
|
||||||
|
Loading…
Reference in New Issue
Block a user