Fix code indent error in KeyEvent and special command `0`