chore(terminal) tested key handlers