omegon 0.7.6 → 0.7.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.
|
@@ -471,17 +471,14 @@ function restartOmegon(): never {
|
|
|
471
471
|
"done",
|
|
472
472
|
// Extra grace period for fd/terminal release
|
|
473
473
|
"sleep 0.3",
|
|
474
|
-
// Hard terminal reset
|
|
475
|
-
//
|
|
476
|
-
//
|
|
477
|
-
//
|
|
478
|
-
|
|
474
|
+
// Hard terminal reset via /dev/tty — avoids stdout buffering that
|
|
475
|
+
// bleeds into the exec'd process. RIS clears all protocol state
|
|
476
|
+
// (kitty keyboard protocol, bracketed paste, mouse tracking, etc.).
|
|
477
|
+
// Do NOT use `reset` here — it outputs terminfo init strings to
|
|
478
|
+
// stdout which the new TUI interprets as input (causing stray
|
|
479
|
+
// characters and double renders).
|
|
480
|
+
"printf '\\033c' >/dev/tty 2>/dev/null",
|
|
479
481
|
"stty sane 2>/dev/null",
|
|
480
|
-
// `reset` as belt-and-suspenders — reinitializes terminfo state.
|
|
481
|
-
// Some terminals (Kitty) maintain protocol state that RIS alone
|
|
482
|
-
// doesn't fully clear; reset queries terminfo and sends the full
|
|
483
|
-
// initialization sequence for the current TERM.
|
|
484
|
-
"reset 2>/dev/null",
|
|
485
482
|
// Clean up this script
|
|
486
483
|
`rm -f "${script}"`,
|
|
487
484
|
// Replace this shell with new omegon
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omegon",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"description": "Omegon — an opinionated distribution of pi (by Mario Zechner) with extensions for lifecycle management, memory, orchestration, and visualization",
|
|
5
5
|
"bin": {
|
|
6
6
|
"omegon": "bin/omegon.mjs",
|