mirror of
https://github.com/tmux/tmux.git
synced 2025-07-22 00:00:54 -04:00
Compare commits
5 Commits
a5545dbc9f
...
381c00a74e
Author | SHA1 | Date | |
---|---|---|---|
|
381c00a74e | ||
|
5aadee6df4 | ||
|
fdf465925e | ||
|
36e1ac6556 | ||
|
ffa376edf7 |
@ -2110,7 +2110,7 @@ screen_write_combine(struct screen_write_ctx *ctx, const struct grid_cell *gc)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if we need to combine characters. This could be zero width
|
* Check if we need to combine characters. This could be zero width
|
||||||
* (zet above), a modifier character (with an existing Unicode
|
* (set above), a modifier character (with an existing Unicode
|
||||||
* character) or a previous ZWJ.
|
* character) or a previous ZWJ.
|
||||||
*/
|
*/
|
||||||
if (!zero_width) {
|
if (!zero_width) {
|
||||||
@ -2122,6 +2122,10 @@ screen_write_combine(struct screen_write_ctx *ctx, const struct grid_cell *gc)
|
|||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Check if this combined character would be too long. */
|
||||||
|
if (last.data.size + ud->size > sizeof last.data.data)
|
||||||
|
return (0);
|
||||||
|
|
||||||
/* Combining; flush any pending output. */
|
/* Combining; flush any pending output. */
|
||||||
screen_write_collect_flush(ctx, 0, __func__);
|
screen_write_collect_flush(ctx, 0, __func__);
|
||||||
|
|
||||||
|
@ -2719,7 +2719,7 @@ static const struct {
|
|||||||
},
|
},
|
||||||
{ .command = "next-prompt",
|
{ .command = "next-prompt",
|
||||||
.minargs = 0,
|
.minargs = 0,
|
||||||
.maxargs = 0,
|
.maxargs = 1,
|
||||||
.clear = WINDOW_COPY_CMD_CLEAR_ALWAYS,
|
.clear = WINDOW_COPY_CMD_CLEAR_ALWAYS,
|
||||||
.f = window_copy_cmd_next_prompt
|
.f = window_copy_cmd_next_prompt
|
||||||
},
|
},
|
||||||
|
1
window.c
1
window.c
@ -338,6 +338,7 @@ window_destroy(struct window *w)
|
|||||||
{
|
{
|
||||||
log_debug("window @%u destroyed (%d references)", w->id, w->references);
|
log_debug("window @%u destroyed (%d references)", w->id, w->references);
|
||||||
|
|
||||||
|
window_unzoom(w);
|
||||||
RB_REMOVE(windows, &windows, w);
|
RB_REMOVE(windows, &windows, w);
|
||||||
|
|
||||||
if (w->layout_root != NULL)
|
if (w->layout_root != NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user