Node 终端界面库 blessed-contrib

码农软件 · 软件分类 · GUI开发框架 · 2019-08-07 18:42:55

软件介绍

blessed-contrib 是使用 Node.js 构建终端应用界面的库。

演示效果如下:

term

term

示例代码:

 var blessed = require('blessed')
   , contrib = require('blessed-contrib')
   , screen = blessed.screen()
   , line = contrib.line(
       { style:
         { line: "yellow"
         , text: "green"
         , baseline: "black"}
       , xLabelPadding: 3
       , xPadding: 5
       , label: 'Title'})
   , data = {
       x: ['t1', 't2', 't3', 't4'],
       y: [5, 1, 7, 5]
    }
 screen.append(line) //must append before setting data
 line.setData([data])

 screen.key(['escape', 'q', 'C-c'], function(ch, key) {
   return process.exit(0);
 });

 screen.render()

本文地址:https://www.codercto.com/soft/d/11863.html

Beginning ARKit for iPhone and iPad

Beginning ARKit for iPhone and iPad

Wallace Wang / Apress / 2018-11-5 / USD 39.99

Explore how to use ARKit to create iOS apps and learn the basics of augmented reality while diving into ARKit specific topics. This book reveals how augmented reality allows you to view the screen on ......一起来看看 《Beginning ARKit for iPhone and iPad》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具