Add interactive function to pretty print key-sequences.