diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-12-03 17:37:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-12-07 19:44:10 +0000 |
| commit | 4d90b200f1252e691592c98439635b7a0b2f6592 (patch) | |
| tree | d96fc7e5fcffc2aa52bcd84aed4e1de6cc5aee16 /render.c | |
| parent | ime: make IME compile-time optional (diff) | |
render: ignore IME preedit state when deciding which cursor style to render
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -353,7 +353,7 @@ draw_cursor(const struct terminal *term, const struct cell *cell, switch (term->cursor_style) { case CURSOR_BLOCK: - if (unlikely(!term->kbd_focus || term->ime.preedit.cells != NULL)) + if (unlikely(!term->kbd_focus)) draw_unfocused_block(term, pix, &cursor_color, x, y, cols); else if (likely(term->cursor_blink.state == CURSOR_BLINK_ON)) { |
