When deleting a window, and if not already moving the mouse somewhere else, move the mouse to the same command in the replacement window that was responsible for deleting the old window. For example: Del, Delete, Delmesg. cf https://github.com/9fans/plan9port/commit/37f8ed2410ad5cbd46eda00a77f8bf4950bcf544