diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-17 08:39:43 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-17 08:39:43 +0000 |
| commit | c1088d77ac24f6655d430005711d2515f3f169ec (patch) | |
| tree | 475681511be530f9dde54570bd64b3df0035b9cb /vt.c | |
| parent | csi: el/ed/dch/ich/ech: reset 'print_needs_wrap' (lcf) (diff) | |
term: rename: print_needs_wrap -> lcf (Last Column Flag)
Diffstat (limited to 'vt.c')
| -rw-r--r-- | vt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -713,7 +713,7 @@ esc_dispatch(struct terminal *term, uint8_t final) static inline void pre_print(struct terminal *term) { - if (unlikely(term->print_needs_wrap) && term->auto_margin) { + if (unlikely(term->lcf) && term->auto_margin) { if (term->cursor.row == term->scroll_region.end - 1) { term_scroll(term, 1); term_cursor_to(term, term->cursor.row, 0); @@ -728,7 +728,7 @@ post_print(struct terminal *term) if (term->cursor.col < term->cols - 1) term_cursor_right(term, 1); else - term->print_needs_wrap = true; + term->lcf = true; } static inline void |
