From c1088d77ac24f6655d430005711d2515f3f169ec Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 17 Nov 2019 09:39:43 +0100 Subject: term: rename: print_needs_wrap -> lcf (Last Column Flag) --- terminal.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 98551d3f..707b45f1 100644 --- a/terminal.c +++ b/terminal.c @@ -855,7 +855,7 @@ term_reset(struct terminal *term, bool hard) term->colors.bg = term->colors.default_bg; for (size_t i = 0; i < 256; i++) term->colors.table[i] = term->colors.default_table[i]; - term->print_needs_wrap = false; + term->lcf = false; term->cursor = (struct coord){0, 0}; term->saved_cursor = (struct coord){0, 0}; term->alt_saved_cursor = (struct coord){0, 0}; @@ -1024,7 +1024,7 @@ term_cursor_to(struct terminal *term, int row, int col) assert(row < term->rows); assert(col < term->cols); - term->print_needs_wrap = false; + term->lcf = false; term->cursor.col = col; term->cursor.row = row; @@ -1045,7 +1045,7 @@ term_cursor_left(struct terminal *term, int count) int move_amount = min(term->cursor.col, count); term->cursor.col -= move_amount; assert(term->cursor.col >= 0); - term->print_needs_wrap = false; + term->lcf = false; } void @@ -1054,7 +1054,7 @@ term_cursor_right(struct terminal *term, int count) int move_amount = min(term->cols - term->cursor.col - 1, count); term->cursor.col += move_amount; assert(term->cursor.col < term->cols); - term->print_needs_wrap = false; + term->lcf = false; } void -- cgit v1.3