"use strict";

const fs = require('fs');
const cursor = require('kittik-cursor').create().resetTTY();
const shape = require('../lib/Image').create({
  image: './examples/nodejs.png',
  x: 'center',
  y: 'middle',
  width: '40%',
  height: '20%',
  preserveAspectRatio: true
});

shape.render(cursor);

cursor.flush();

@@ -219,13 +219,10 @@
 th: 
-'40%25'
+10
 ,%0A  
@@ -233,13 +233,9 @@
 ht: 
-'20%25'
+5
 ,%0A  
@@ -259,11 +259,12 @@
 io: 
-tru
+fals
 e%0A%7D)

Update shape-basic to the latest version