1
diff --git a/src/screen.c b/src/screen.c
2
index 473e4fa..8b36bea 100644
5
@@ -2271,8 +2271,8 @@ int padlen;
9
- if (r && p - buf == winmsg_rendpos[r - 1])
10
- winmsg_rendpos[--r] = pn - buf;
11
+ if (r && p - buf + 1== winmsg_rendpos[r - 1])
12
+ winmsg_rendpos[--r] = pn - buf + 1;