jquast / blessed

Blessed is an easy, practical library for making python terminal apps

Home Page:http://pypi.python.org/pypi/blessed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples of segregating terminal output

ajgringo619 opened this issue · comments

I am trying to completely remove any curses modules/code from my programs, and hope I've come to the right place. The main questions are:

  1. Is blessed a complete rapper for curses?
  2. If so, are there examples of how to create sub-windows, like curses.newwin?

I'm trying to create a database monitor that prints out pandas dataframes in separate areas of the screen. For now, I'm converting the dataframes to multi-line strings, then printing each line with term.move_xy commands.

Blessed is not a complete wrapper for curses. It does not have any abstraction for Curses windows. Blessed is primarily for colors, formating, keyboard input, cursor location, and other functionality provided through terminal escape codes. Some people do use Blessed along with Curses windows. You may want to look at the examples in the Readme and explore those projects if you see something similar to what you're trying to do.

OK, thanks for the detailed info.