bashsimplecurses

授权协议 BSD-3-Clause License
开发语言 SHELL
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 皇甫卓君
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Bash Simple Curses

FOSSA Status

"Bash simple curses" give you some basic functions to quickly create some windows on you terminal as Xterm, aterm, urxvt...

An example is given: bashbar. Bashbar is a monitoring bar that you can integrate in tiling desktop (Xmonad, WMii...)

The goal of Bash Simple Curses is not done (not yet) to create very complete windows. It is only done to create some colored windows and display informations into.

To use library, you have to import library "simple_curses.sh" into you bash script:

#!/bin/bash

#import library, please check path
#source /usr/lib/simple_curses.sh
source /usr/local/lib/simple_curses.sh

#Then, you must create a "main" function:
main (){
    #your code here, you can add some windows, text...
    window "title" "color"
    append "Text..."
    endwin
}

#then, you can execute loop:
main_loop 1

That's all...

Go into the project to have documentation about functions:https://github.com/metal3d/bashsimplecurses

License

FOSSA Status

相关阅读

相关文章

相关问答

相关文档