vtr0n / Npyscreen
Licence: other
Fork from https://code.google.com/archive/p/npyscreen/
Stars: ✭ 98
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Npyscreen
Brick
A declarative Unix terminal UI programming library written in Haskell
Stars: ✭ 1,070 (+991.84%)
Mutual labels: tui
Tui
A text-based user interface library for golang based on termbox
Stars: ✭ 12 (-87.76%)
Mutual labels: tui
Turbo
An experimental text editor based on Scintilla and Turbo Vision.
Stars: ✭ 78 (-20.41%)
Mutual labels: tui
Tygit
A basic terminal interface for git, written on Node.js [Project not maintained]
Stars: ✭ 36 (-63.27%)
Mutual labels: tui
Pulseaudio Mixer Cli
Interactive python/ncurses UI to control volume of pulse streams
Stars: ✭ 86 (-12.24%)
Mutual labels: tui
Bashmultitool
A library for bash shell program containing useful functions. Can be imported into scripts to create colourful and functional scripts and TUIs.
Stars: ✭ 27 (-72.45%)
Mutual labels: tui
Zui
⬢ Zsh User Interface library – CGI+DHTML-like rapid application development with Zsh
Stars: ✭ 95 (-3.06%)
Mutual labels: tui
NpyScreen
Fork from https://code.google.com/archive/p/npyscreen/
Changes
Added custom highlighting for widget and multiline
Example:
import npyscreen
class MyForm(npyscreen.FormBaseNew):
def create(self):
# BoxTitle used multiline
obj = self.add(npyscreen.BoxTitle, name="test", custom_highlighting=True, values=["first line", "second line"])
# get colors
color1 = self.theme_manager.findPair(self, 'DANGER')
color2 = self.theme_manager.findPair(self, 'IMPORTANT')
# fill line
obj.entry_widget.highlighting_arr_color_data = [[color1,color1,color2],[color2,color1,color2,color2]]
class App(npyscreen.StandardApp):
def onStart(self):
self.addForm("MAIN", MyForm)
obj = App()
obj.run()
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].