Define KEY_MIN and use it in kb.c.