commit 582e876858d30fdbe52038b4b2c4a2dfcae27018 parent 1d9b68f7e0d73a9206b1841f134708d7ad17113e Author: Claudio Alessi <smoppy@gmail.com> Date: Mon, 24 Nov 2025 20:05:32 +0100 Handle empty lines. Diffstat:
| M | edo.c | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/edo.c b/edo.c @@ -345,6 +345,10 @@ draw_view(View *v) { } l = buffer_get_line(v->buf, row); + if(!l->len) { + ui->draw_line(0, y, "", 0); + continue; + } idx = view_col2idx(v, l, v->col_offset); len = l->len - idx;