Build interactive terminal UIs with colors, keyboard input, and positioning
Easy, practical library for making terminal apps, by providing an elegant, well-documented interface to Colors, Keyboard input, and screen Positioning capabilities.
$ python3 -c "from blessed import Terminal; t = Terminal(); print(t.bold_red('Hello World'))"$ python3 -c "from blessed import Terminal; t = Terminal(); print('Press a key:'); print(t.inkey())"$ python3 -c "from blessed import Terminal; t = Terminal(); print(t.move(5, 10) + 'Text at row 5, col 10')"$ python3 -c "from blessed import Terminal; t = Terminal(); print(t.clear()); print(t.green('Welcome')); input(t.cyan('> '))"$ python3 -c "from blessed import Terminal; t = Terminal(); print(f'Size: {t.width}x{t.height}'); print(f'Color support: {t.does_styling}')"