st-meta-vim-full: change currentBg, introduce currentFg, update shortcuts
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
extern Glyph const styleSearch, style[];
|
||||
extern char const wDelS[], wDelL[], *nmKeys[];
|
||||
extern unsigned int bg[], fg, currentBg, highlightBg, highlightFg, amountNmKeys;
|
||||
extern unsigned int bg[], fg, currentBg, currentFg, highlightBg, highlightFg, amountNmKeys;
|
||||
|
||||
typedef struct { int p[3]; } Pos;
|
||||
|
||||
@@ -264,7 +264,7 @@ void historyOverlay(int x, int y, Glyph* g) {
|
||||
else if (x > term.col - 7) g->u = (Rune)(posBuffer[x - term.col + 7]);
|
||||
else getChar(size(&cCmd) ?&cCmd :&lCmd, g, term.row-1, term.col-7, term.col/3-6, x);
|
||||
} else if (highlighted(x, y)) g->bg = highlightBg, g->fg = highlightFg;
|
||||
else if ((x==cHist->x) ^ (y==cHist->y)) g->bg = currentBg;
|
||||
else if ((x==cHist->x) ^ (y==cHist->y)) { g->bg = currentBg; g->fg = currentFg; }
|
||||
else if (x==cHist->x) g->mode^=ATTR_REVERSE;
|
||||
}
|
||||
void historyPreDraw() {
|
||||
|
||||
Reference in New Issue
Block a user