So I have used Python's built-in input() function for the prompts, but an issue I kinda need help with is to move left and right using arrow keys. When I try to use arrow keys in the current version, it inputs ^[[D and ^[[C, instead of the expected outcome for it to move the cursor left and right in the prompt just like any other text input field.
If anyone knows any solutions for this then please feel free to help! :)