Skip to content

Commit 3812f99

Browse files
committed
work around clack bug that causes ignored inputs.
1 parent e845d4a commit 3812f99

2 files changed

Lines changed: 26 additions & 4 deletions

File tree

multiplayer/deno.lock

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/setup.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,15 @@ if (import.meta.main) {
9393

9494
intro(color.bgCyan(" WorldQL Setup "));
9595

96-
await task("Initializing Dreamlab environment", async () => {
97-
await Promise.all([initEditorEnv(DREAMLAB_ROOT), initServerEnv(DREAMLAB_ROOT)]);
98-
return "Initialized Dreamlab environment";
99-
});
96+
// await task("Initializing Dreamlab environment", async () => {
97+
// await Promise.all([initEditorEnv(DREAMLAB_ROOT), initServerEnv(DREAMLAB_ROOT)]);
98+
// return "Initialized Dreamlab environment. This is the game engine that powers WorldQL!";
99+
// });
100+
// bug in Clack. Using task followed by select causes the first key input to be ignored.
101+
102+
await Promise.all([initEditorEnv(DREAMLAB_ROOT), initServerEnv(DREAMLAB_ROOT)]);
103+
104+
log.success("Initialized Dreamlab environment. This is the game engine that powers WorldQL!");
100105

101106
const template = await select({
102107
message: "Pick a project template:",

0 commit comments

Comments
 (0)