mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
Merge branch 'master' into visual-focus
This commit is contained in:
commit
709dbfe18b
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -884,7 +884,7 @@ render_search_box(struct terminal *term)
|
|||
const int width = min(term->width, 2 * margin + max(20, term->search.len) * term->cell_width);
|
||||
const int height = min(term->height, 2 * margin + 1 * term->cell_height);
|
||||
|
||||
unsigned long cookie = (uintptr_t)term;
|
||||
unsigned long cookie = (uintptr_t)term + 1;
|
||||
struct buffer *buf = shm_get_buffer(term->wl->shm, width, height, cookie);
|
||||
|
||||
/* Background - yellow on empty/match, red on mismatch */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue