[wiki] [sites] Updated scrollback patch || Martin Kopta
commit 0dbca7ffa469b5009716f89ba357f0c4a111fd0d
Author: Martin Kopta <martin_AT_kopta.eu>
Date: Tue Jul 28 16:18:45 2015 +0200
Updated scrollback patch
diff --git a/st.suckless.org/patches/st-scrollback.diff b/st.suckless.org/patches/st-scrollback.diff
index 8babd37..02878ec 100644
--- a/st.suckless.org/patches/st-scrollback.diff
+++ b/st.suckless.org/patches/st-scrollback.diff
_AT_@ -1,5 +1,5 @@
diff --git a/config.def.h b/config.def.h
-index 2616dea..f5215b2 100644
+index 930e468..14d94fe 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -7,6 +7,7 @@
_AT_@ -10,7 +10,7 @@ index 2616dea..f5215b2 100644
/*
* What program is execed by st depends of these precedence rules:
-_AT_@ -137,6 +138,8 @@ static Shortcut shortcuts[] = {
+_AT_@ -145,6 +146,8 @@ static Shortcut shortcuts[] = {
{ MODKEY|ShiftMask, XK_C, clipcopy, {.i = 0} },
{ MODKEY|ShiftMask, XK_V, clippaste, {.i = 0} },
{ MODKEY, XK_Num_Lock, numlock, {.i = 0} },
_AT_@ -20,7 +20,7 @@ index 2616dea..f5215b2 100644
/*
diff --git a/st.c b/st.c
-index 0db3d58..59b671e 100644
+index 1df4fde..91f95a8 100644
--- a/st.c
+++ b/st.c
_AT_@ -84,6 +84,8 @@ char *argv0;
_AT_@ -317,7 +317,7 @@ index 0db3d58..59b671e 100644
/* resize each row to new width, zero-pad if needed */
for (i = 0; i < minrow; i++) {
term.line[i] = xrealloc(term.line[i], col * sizeof(Glyph));
-_AT_@ -3912,11 +3980,11 @@ drawregion(int x1, int y1, int x2, int y2)
+_AT_@ -3924,11 +3992,11 @@ drawregion(int x1, int y1, int x2, int y2)
term.dirty[y] = 0;
specs = term.specbuf;
_AT_@ -331,7 +331,7 @@ index 0db3d58..59b671e 100644
if (new.mode == ATTR_WDUMMY)
continue;
if (ena_sel && selected(x, y))
-_AT_@ -3936,7 +4004,8 @@ drawregion(int x1, int y1, int x2, int y2)
+_AT_@ -3948,7 +4016,8 @@ drawregion(int x1, int y1, int x2, int y2)
if (i > 0)
xdrawglyphfontspecs(specs, base, i, ox, y);
}
_AT_@ -341,4 +341,3 @@ index 0db3d58..59b671e 100644
}
void
-
Received on Tue Jul 28 2015 - 16:19:23 CEST
This archive was generated by hypermail 2.3.0
: Tue Jul 28 2015 - 16:24:11 CEST