Skip to content

Commit

Permalink
docs(shape): Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Mar 27, 2016
1 parent 58b3893 commit 31a497e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/simple.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
"use strict";

const FigText = require('../lib/FigText');
const cursor = require('kittik-cursor').create().resetTTY();
const cursor = require('kittik-cursor').create().reset();

FigText.create({
FigText.create(cursor, {
text: 'KittikJS',
x: 'center',
y: 'middle',
font: 'Star Wars',
foreground: 'yellow_1',
foreground: 'yellow',
horizontalLayout: 'full'
}).render(cursor);
}).render();

cursor.moveTo(1, process.stdout.rows).flush();
cursor.flush();

0 comments on commit 31a497e

Please sign in to comment.