oorja 2.1.3 → 2.1.4
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.
|
@@ -57,10 +57,8 @@ export const teletypeApp = (options) => {
|
|
|
57
57
|
}
|
|
58
58
|
if (options.shell.endsWith('zsh')) {
|
|
59
59
|
stdout.write('Adjusting shell prompt to show streaming indicator\n');
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
term.write(zshFunc);
|
|
63
|
-
term.write(zshHook);
|
|
60
|
+
// FIXME: this doesnt work on macos (or its probably due to some conflict with powerlevel10k)
|
|
61
|
+
term.write("PROMPT='📡 [streaming] '$PROMPT\n");
|
|
64
62
|
}
|
|
65
63
|
if (options.shell.endsWith('fish')) {
|
|
66
64
|
stdout.write('Adjusting shell prompt to show streaming indicator\n');
|
|
@@ -71,11 +69,13 @@ export const teletypeApp = (options) => {
|
|
|
71
69
|
// track own dimensions and keep it up to date
|
|
72
70
|
setInterval(reEvaluateOwnDimensions, 1000);
|
|
73
71
|
term.onData((d) => {
|
|
72
|
+
stdout.write(d);
|
|
74
73
|
if (!ptyReady) {
|
|
75
74
|
ptyReady = true;
|
|
76
|
-
|
|
75
|
+
setTimeout(() => {
|
|
76
|
+
ptyFuture.resolve(true);
|
|
77
|
+
}, 100);
|
|
77
78
|
}
|
|
78
|
-
stdout.write(d);
|
|
79
79
|
if (sessionCount < 2) {
|
|
80
80
|
// 1 sub for own channel session
|
|
81
81
|
// < 2 means no subscribers. no point pushing data.
|
package/oclif.manifest.json
CHANGED