diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-15 06:04:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-15 06:04:51 +0000 |
| commit | 2fa2c9fad4c401b174e084ee560defba7c6ca49e (patch) | |
| tree | 837f8ae2002a0d1f91871731d370bfda77b9ba51 /terminal.c | |
| parent | grid: reflow: use macro print_spacer() to insert multi-column character spacers (diff) | |
term: print: don't pad with spacers if auto-margin is disabled
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2407,7 +2407,7 @@ term_print(struct terminal *term, wchar_t wc, int width) print_linewrap(term); print_insert(term, width); - if (unlikely(width > 1) && + if (unlikely(width > 1) && likely(term->auto_margin) && term->grid->cursor.point.col + width > term->cols) { /* Multi-column character that doesn't fit on current line - |
