diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-02-19 10:44:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-02-19 10:50:25 +0000 |
| commit | c41008da31aba42e3d0e25966af9eab27cfd3fac (patch) | |
| tree | f9db9a627d6c36f8fa8743878bdec2c409a5cfe6 /render.c | |
| parent | terminal: add comment/link to cursor::lcf, to clarify its purpose (diff) | |
config+render: allow cursor.style=hollow
Closes #1965
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -647,6 +647,11 @@ draw_cursor(const struct terminal *term, const struct cell *cell, draw_underline_cursor(term, pix, font, &cursor_color, x, y, cols); } break; + + case CURSOR_HOLLOW: + if (likely(term->cursor_blink.state == CURSOR_BLINK_ON)) + draw_hollow_block(term, pix, &cursor_color, x, y, cols); + break; } } |
