"use strict";

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

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

cursor.flush();

@@ -151,35 +151,8 @@
 ikJS
-%5Cn    Rules%5Cn           !!!
 ',%0A 
@@ -281,16 +281,47 @@
 %0Acursor.
+moveTo(1, process.stdout.rows).
 flush();

Update shape-basic to the latest version