mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
Merge pull request #9 from kiprasmel/fix/patch-keyboardselect_st.c-with-ligatures
fix keyboardselect patch when combined with ligatures patch
This commit is contained in:
commit
d7b6b1c1c6
@ -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
Block a user