mirror of
https://github.com/tmux/tmux.git
synced 2025-04-01 21:41:44 +00:00
Remove leftover debug logging and fix comparison.
This commit is contained in:
parent
ca0166f26f
commit
370f0bb98d
1
grid.c
1
grid.c
@ -496,7 +496,6 @@ grid_get_cell1(struct grid_line *gl, u_int px, struct grid_cell *gc)
|
|||||||
gc->fg = gee->fg;
|
gc->fg = gee->fg;
|
||||||
gc->bg = gee->bg;
|
gc->bg = gee->bg;
|
||||||
gc->us = gee->us;
|
gc->us = gee->us;
|
||||||
log_debug("!!! %x", gc->flags);
|
|
||||||
utf8_to_data(gee->data, &gc->data);
|
utf8_to_data(gee->data, &gc->data);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
5
status.c
5
status.c
@ -1275,7 +1275,10 @@ process_key:
|
|||||||
append_key:
|
append_key:
|
||||||
if (key <= 0x1f || key >= KEYC_BASE)
|
if (key <= 0x1f || key >= KEYC_BASE)
|
||||||
return (0);
|
return (0);
|
||||||
utf8_to_data(key, &tmp);
|
if (key <= 0x7f)
|
||||||
|
utf8_set(&tmp, key);
|
||||||
|
else
|
||||||
|
utf8_to_data(key, &tmp);
|
||||||
|
|
||||||
c->prompt_buffer = xreallocarray(c->prompt_buffer, size + 2,
|
c->prompt_buffer = xreallocarray(c->prompt_buffer, size + 2,
|
||||||
sizeof *c->prompt_buffer);
|
sizeof *c->prompt_buffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user