edo

Experimental text editor.
Log | Files | Refs | LICENSE

commit 9fc4d985f62ef7e94d9d469cf6e4085c2cb8cc5b
parent 02022354435f2f3f5763766e72613caf28d6f67f
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Sun, 11 Jan 2026 18:19:51 +0100

Fix cell padding in line-drawing code.

Restore a SLOC mistakenly removed.

Diffstat:
Mtui.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tui.c b/tui.c @@ -231,8 +231,10 @@ tui_draw_line_compat(UI *ui, int x, int y, Cell *cells, int count) { } /* pad clusters having unexpected width */ - if(cw < cells[i].width) + if(cw < cells[i].width) { + tui_move_cursor(x + cw, y); while(cw++ < cells[i].width) ab_write(&frame, " ", 1); + } /* no more visual characters expected for this cell */ if(neederase) break;