Add escape key handling
Currently the escape key just types a strange character into the input area. This MR makes it clear the input area instead, mirroring the functionality of other calculators.
Currently the escape key just types a strange character into the input area. This MR makes it clear the input area instead, mirroring the functionality of other calculators.