aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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