Thanks to @jpmonettas, without him, my command line calculator wouldn't have had the ability to use up and down keys to go through history. https://codeberg.org/kanipaan/kanipaan/releases/tag/1.1.1