mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: print: don't pad with spacers if auto-margin is disabled
This commit is contained in:
parent
b0798ad0be
commit
2fa2c9fad4
1 changed files with 1 additions and 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 -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue