mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Fix show-buffer when run from inside tmux, GitHub issue 2314.
This commit is contained in:
@ -514,7 +514,10 @@ screen_write_vnputs(struct screen_write_ctx *ctx, ssize_t maxlen,
|
||||
|
||||
if (*ptr == '\001')
|
||||
gc.attr ^= GRID_ATTR_CHARSET;
|
||||
else if (*ptr > 0x1f && *ptr < 0x7f) {
|
||||
else if (*ptr == '\n') {
|
||||
screen_write_linefeed(ctx, 0, 8);
|
||||
screen_write_carriagereturn(ctx);
|
||||
} else if (*ptr > 0x1f && *ptr < 0x7f) {
|
||||
size++;
|
||||
screen_write_putc(ctx, &gc, *ptr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user