aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-11-25 09:23:34 +0100
committerChristoph Lohmann <20h@r-36.net>2012-11-25 09:23:34 +0100
commit373a8f56286d72ae10c9d3a2a7326e2515d141d9 (patch)
tree7048e8117aaae9b235e213d015882d22ba0b748e
parent172f65436ce14a52842d67b862fdc45f8ff3ada3 (diff)
downloadst-373a8f56286d72ae10c9d3a2a7326e2515d141d9.tar.gz
st-373a8f56286d72ae10c9d3a2a7326e2515d141d9.zip
The style inquisition was here.
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index 671b386..900b567 100644
--- a/st.c
+++ b/st.c
@@ -1102,6 +1102,7 @@ tnew(int col, int row) {
1102 term.alt [row] = xmalloc(term.col * sizeof(Glyph)); 1102 term.alt [row] = xmalloc(term.col * sizeof(Glyph));
1103 term.dirty[row] = 0; 1103 term.dirty[row] = 0;
1104 } 1104 }
1105
1105 term.numlock = 1; 1106 term.numlock = 1;
1106 memset(term.tabs, 0, term.col * sizeof(*term.tabs)); 1107 memset(term.tabs, 0, term.col * sizeof(*term.tabs));
1107 /* setup screen */ 1108 /* setup screen */
@@ -2704,8 +2705,7 @@ match(uint mask, uint state) {
2704} 2705}
2705 2706
2706void 2707void
2707numlock(const Arg *dummy) 2708numlock(const Arg *dummy) {
2708{
2709 term.numlock ^= 1; 2709 term.numlock ^= 1;
2710} 2710}
2711 2711