mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-11 19:19:35 +02:00
fix - trail now visible when cursor is underline
This commit is contained in:
@@ -10,7 +10,7 @@ get_cursor_edge(float *left, float *right, float *top, float *bottom, Window *w)
|
||||
#define WD w->render_data
|
||||
*left = WD.xstart + WD.screen->cursor_render_info.x * WD.dx;
|
||||
*bottom = WD.ystart - (WD.screen->cursor_render_info.y + 1) * WD.dy;
|
||||
switch (WD.screen->cursor->shape) {
|
||||
switch (WD.screen->cursor_render_info.shape) {
|
||||
case CURSOR_BLOCK:
|
||||
case CURSOR_HOLLOW:
|
||||
*right = *left + WD.dx;
|
||||
|
||||
Reference in New Issue
Block a user