utilium 0.8.5 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/shell.js CHANGED
@@ -50,10 +50,10 @@ function handleData($, data) {
50
50
  if ($.input != $.inputs[0]) {
51
51
  $.inputs.unshift($.input);
52
52
  }
53
+ $.terminal.write('\r\n');
54
+ $.onLine($.input);
53
55
  $.index = -1;
54
56
  $.input = '';
55
- $.terminal.write('\r\n');
56
- $.onLine($.currentInput);
57
57
  $.terminal.write($.prompt);
58
58
  break;
59
59
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utilium",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "Typescript utilities",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/shell.ts CHANGED
@@ -98,10 +98,10 @@ function handleData($: ShellContext, data: string) {
98
98
  if ($.input != $.inputs[0]) {
99
99
  $.inputs.unshift($.input);
100
100
  }
101
+ $.terminal.write('\r\n');
102
+ $.onLine($.input);
101
103
  $.index = -1;
102
104
  $.input = '';
103
- $.terminal.write('\r\n');
104
- $.onLine($.currentInput);
105
105
  $.terminal.write($.prompt);
106
106
  break;
107
107
  default: