From f06b58711b451c737899cd60a129fc110fbb0e1b Mon Sep 17 00:00:00 2001 From: nschimme <5505185+nschimme@users.noreply.github.com> Date: Mon, 21 Sep 2026 16:37:27 +0000 Subject: [PATCH] fix(tutorial): keep input bar mounted and focused during command entry Prevent the tutorial prompt bar from unmounting when output overflows, ensuring continuous keyboard focus when entering commands like `look` and `exits`. Display a non-blocking floating overlay toast when content overflows. --- .../theme/components/TutorialPlayer.vue | 33 +++++++++---------- tests/tutorial_player.test.ts | 13 ++++++-- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/docs/.vitepress/theme/components/TutorialPlayer.vue b/docs/.vitepress/theme/components/TutorialPlayer.vue index 3eb7f46..3a6755f 100644 --- a/docs/.vitepress/theme/components/TutorialPlayer.vue +++ b/docs/.vitepress/theme/components/TutorialPlayer.vue @@ -789,23 +789,10 @@ onUnmounted(() => {
- - - - - - +