From 54ae8503227aa063a6e7c15a297e315fe6af9422 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 27 May 2026 20:47:23 +0000 Subject: [PATCH 1/2] Do not adjust end position when removing partial padding, it does not change. --- tty-draw.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tty-draw.c b/tty-draw.c index 24d8b711..b6178754 100644 --- a/tty-draw.c +++ b/tty-draw.c @@ -181,7 +181,6 @@ tty_draw_line(struct tty *tty, struct screen *s, u_int px, u_int py, u_int nx, atx += cx; px += cx; nx -= cx; - ex -= cx; } /* Did the previous line wrap on to this one? */ From 3690c64e885680707b60f54b4481000396bb2678 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 27 May 2026 22:07:57 +0100 Subject: [PATCH 2/2] Use -g -ggdb for debug. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 0161999b..068df02c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,7 +27,7 @@ else AM_CFLAGS += -O0 endif if IS_DEBUG -AM_CFLAGS += -g +AM_CFLAGS += -g3 -ggdb AM_CFLAGS += -Wno-long-long -Wall -W -Wformat=2 -Wno-use-after-free AM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare