fix keyboardselect patch when combined with ligatures patch
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
This commit is contained in:
parent
9c0f91c892
commit
c148334008
|
@ -42,8 +42,14 @@ void select_or_drawcursor(int selectsearch_mode, int type) {
|
|||
xsetsel(getsel());
|
||||
}
|
||||
else
|
||||
#if LIGATURES_PATCH
|
||||
xdrawcursor(term.c.x, term.c.y, term.line[term.c.y][term.c.x],
|
||||
term.ocx, term.ocy, term.line[term.ocy][term.ocx],
|
||||
term.line[term.ocy], term.col);
|
||||
#else
|
||||
xdrawcursor(term.c.x, term.c.y, term.line[term.c.y][term.c.x],
|
||||
term.ocx, term.ocy, term.line[term.ocy][term.ocx]);
|
||||
#endif
|
||||
}
|
||||
|
||||
void search(int selectsearch_mode, Rune *target, int ptarget, int incr, int type, TCursor *cu) {
|
||||
|
|
Loading…
Reference in New Issue