Implement keys.on()
Fix character width calculation