Skip to content

Commit

Permalink
docs(shape): Update simple example
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Jan 11, 2016
1 parent 12d46f8 commit 2f8f54b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions examples/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ const FigText = require('../lib/FigText').default;
const cursor = require('kittik-cursor').Cursor.create().resetTTY();

FigText.create({
text: 'KittikJS Rules',
y: 3,
font: 'Red Phoenix',
foreground: cursor.COLORS.WHITE
text: 'KittikJS\n Rules\n !!!',
x: 'center',
y: 'middle',
font: 'Star Wars',
foreground: 'yellow_1',
horizontalLayout: 'full'
}).render(cursor);

cursor.flush();

0 comments on commit 2f8f54b

Please sign in to comment.