mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-02-08 17:13:29 +00:00
Add failing test for helpers.parseTags
a4d56fb moved the function from here 99f9d622e6/lib/widget.js (L9607-L9610)
to its own file, but didn't fill in any reference for the Screen variable.
This commit is contained in:
parent
2b26fe9952
commit
ecf08f4ba7
5
test/helpers.js
Normal file
5
test/helpers.js
Normal file
@ -0,0 +1,5 @@
|
||||
var blessed = require('../'),
|
||||
screen = blessed.screen();
|
||||
|
||||
console.log(blessed.helpers.parseTags('{red-fg}This should be red.{/red-fg}'));
|
||||
console.log(blessed.helpers.parseTags('{green-bg}This should have a green background.{/green-bg}'));
|
Loading…
x
Reference in New Issue
Block a user