Comparing version
@@ -1,2 +0,2 @@ | ||
function handleData($, data) { | ||
async function handleData($, data) { | ||
if ($.index == -1) { | ||
@@ -54,3 +54,3 @@ $.currentInput = $.input; | ||
$.terminal.write('\r\n'); | ||
$.onLine($.input); | ||
await $.onLine($.input); | ||
$.index = -1; | ||
@@ -57,0 +57,0 @@ $.input = ''; |
{ | ||
"name": "utilium", | ||
"version": "0.8.7", | ||
"version": "0.8.8", | ||
"description": "Typescript utilities", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -48,3 +48,3 @@ /* A simple wrapper for xterm.js that makes implementing shells easier */ | ||
function handleData($: ShellContext, data: string) { | ||
async function handleData($: ShellContext, data: string) { | ||
if ($.index == -1) { | ||
@@ -103,3 +103,3 @@ $.currentInput = $.input; | ||
$.terminal.write('\r\n'); | ||
$.onLine($.input); | ||
await $.onLine($.input); | ||
$.index = -1; | ||
@@ -106,0 +106,0 @@ $.input = ''; |
86281
0.03%