mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
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());
|
xsetsel(getsel());
|
||||||
}
|
}
|
||||||
else
|
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],
|
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.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) {
|
void search(int selectsearch_mode, Rune *target, int ptarget, int incr, int type, TCursor *cu) {
|
||||||
|
Loading…
Reference in New Issue
Block a user