Submit templates for here.

← Back to all posts
clean working scrollbar in the console for python
potnoodle (6)

The title says it all, this is a python template for a scrollbar in the console, with arrow key input.

Use the arrow keys to select an item (all four work), and press the ENTER key to go to the page corresponding to the item chosen, currently this simply displays the title of the page.

I probably spent more time writing the comments to explain the code than I spent actually writing the code so I think it should be clear enough to use.

It should also work if ran outside of, regardless of your OS (thanks to stack overflow and github :p)