diff options
| -rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
| 2706 | void | 2707 | void |
| 2707 | numlock(const Arg *dummy) | 2708 | numlock(const Arg *dummy) { |
| 2708 | { | ||
| 2709 | term.numlock ^= 1; | 2709 | term.numlock ^= 1; |
| 2710 | } | 2710 | } |
| 2711 | 2711 | ||
