@dmsdc-ai/aterm 0.1.5 → 0.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dmsdc-ai/aterm",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Native aterm launcher package",
5
5
  "type": "module",
6
6
  "main": "./bin/aterm.js",
@@ -17,7 +17,7 @@
17
17
  "package.json"
18
18
  ],
19
19
  "optionalDependencies": {
20
- "@dmsdc-ai/aterm-darwin-arm64": "0.1.5"
20
+ "@dmsdc-ai/aterm-darwin-arm64": "0.1.7"
21
21
  },
22
22
  "dependencies": {
23
23
  "@dmsdc-ai/aigentry-brain": "latest",
@@ -48,6 +48,9 @@ async function showInfoScreen(blessed, title, lines, footer) {
48
48
  screen.render();
49
49
  await waitForKeypress(screen);
50
50
  screen.destroy();
51
+ // Reset terminal modes that blessed may leave set (DECCKM, keypad)
52
+ // so that subsequent prompts receive normal arrow key sequences.
53
+ process.stdout.write('\x1b[?1l\x1b>');
51
54
  }
52
55
 
53
56
  function buildWorkspaceChoices(context) {
@@ -259,6 +262,7 @@ export async function showProgressScreen(runSteps) {
259
262
  await runSteps(report);
260
263
  await new Promise(resolve => setTimeout(resolve, 250));
261
264
  screen.destroy();
265
+ process.stdout.write('\x1b[?1l\x1b>');
262
266
  }
263
267
 
264
268
  export async function showDoneScreen(summaryLines) {