fix mac terminal flash bug & `post` command `k`