Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.
/ blessed-texty Public archive

A navigable, drop-in replacement for blessed's textarea and textbox

Notifications You must be signed in to change notification settings

pyrmont/blessed-texty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blessed-texty

Texty provides text input widgets (textarea, textbox) that are navigable via the cursor keys.

The blessed library left navigable text input widgets as a feature for future development. Texty provides minimal drop-in replacements with no additional dependencies.

Installation

npm install blessed blessed-texty

Usage

   var blessed = require('blessed');
     , texty = require('blessed-texty');
     , screen = blessed.screen();
     , textyarea = texty.textarea(
         { style:
           { bg: "blue"
           , fg: "white" }
       );
   screen.append(textyarea); 

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

   screen.render();

Widgets

License

This library is licensed under the MIT License.

About

A navigable, drop-in replacement for blessed's textarea and textbox

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published