summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann2012-11-25 09:23:34 +0100
committerChristoph Lohmann2012-11-25 09:23:34 +0100
commit373a8f56286d72ae10c9d3a2a7326e2515d141d9 (patch)
tree7048e8117aaae9b235e213d015882d22ba0b748e
parent172f65436ce14a52842d67b862fdc45f8ff3ada3 (diff)
downloadst-373a8f56286d72ae10c9d3a2a7326e2515d141d9.tar.gz
st-373a8f56286d72ae10c9d3a2a7326e2515d141d9.tar.xz
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) {
term.alt [row] = xmalloc(term.col * sizeof(Glyph));
term.dirty[row] = 0;
}
+
term.numlock = 1;
memset(term.tabs, 0, term.col * sizeof(*term.tabs));
/* setup screen */
@@ -2704,8 +2705,7 @@ match(uint mask, uint state) {
}
void
-numlock(const Arg *dummy)
-{
+numlock(const Arg *dummy) {
term.numlock ^= 1;
}