Hi, I'm creating a discord bot using pycord and I want to have some kind of custom shell. Currently I just use the aioconsole library to read whatever is typed into the console and parse it. It works, but I also want to be able to cycle through recent commands like it's basically anywhere else the case. So pressing the arrow up key, should show the last command, instead of "typing" some weird characters. Afaik I can do this with a custom shell but I don't know how and what I have to consider when doing this. It should also be compatible with asyncio.
So if anyone could give me a nudge in the right direction or maybe share a link to a library that does that or any other thoughts about this, that would be really great!