mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Change notification message
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f4d2be5053
commit
86d810ea8e
@ -120,9 +120,12 @@ export class TerminalStore extends Singleton {
|
|||||||
const rcIsFinished = when(() => this.connections.get(tab.id).shellRunCommandsFinished);
|
const rcIsFinished = when(() => this.connections.get(tab.id).shellRunCommandsFinished);
|
||||||
const notifyVeryLong = setTimeout(() => {
|
const notifyVeryLong = setTimeout(() => {
|
||||||
rcIsFinished.cancel();
|
rcIsFinished.cancel();
|
||||||
Notifications.info("Terminal shell is taking a long time to complete startup. Bypassing shell completion check.", {
|
Notifications.info(
|
||||||
timeout: 4_000,
|
"If terminal shell is not ready please check your shell init files, if applicable. You may see this message if you have set a custom shell prompt.",
|
||||||
});
|
{
|
||||||
|
timeout: 4_000,
|
||||||
|
},
|
||||||
|
);
|
||||||
}, 10_000);
|
}, 10_000);
|
||||||
|
|
||||||
await rcIsFinished.catch(noop);
|
await rcIsFinished.catch(noop);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user