opnsense-ports/sysutils/screen/files/patch-screen.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
528 B
C

--- screen.c.orig 2014-04-26 09:22:09.000000000 -0700
+++ screen.c 2014-04-30 23:34:47.613803805 -0700
@@ -2257,7 +2257,7 @@
r = winmsg_numrend;
while (p >= buf)
{
- if (r && *p != 127 && p - buf == winmsg_rendpos[r - 1])
+ if (r && p - buf == winmsg_rendpos[r - 1])
{
winmsg_rendpos[--r] = pn - buf;
continue;
@@ -2271,8 +2271,6 @@
while (i-- > 0)
*pn-- = ' ';
numpad--;
- if (r && p - buf == winmsg_rendpos[r - 1])
- winmsg_rendpos[--r] = pn - buf;
}
}
return pn2;