diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index e2cbed2..b7892b6 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -5,6 +5,7 @@ English (US) release notes, mirroring CHANGELOG.md (Brazilian Portuguese). Befor
## [Unreleased]
### Changes
- Home: clicking a launcher (or pressing A on it) only picks what will open; **Play now** is what starts. Before, the click went straight into console mode, so picking looked like opening. With a controller or the keyboard, the focus moves down to **Play now** after the pick, so a second A plays. (#193)
+- Guided tour: each stop moves on by itself once there has been time to read it (7 to 16 s), with a bar under the card showing how long is left, and the last one closes the tour. Nobody is stuck on a stop if the controller doesn't answer (reported with a PS5 controller). **A** goes on at once and **B** skips, as before. (#194)
### Fixes
- System and Session: picking an option from a list (resolution, audio output, how to turn the other screens off...) or closing it with B leaves the focus on the same row. Before, it went back to the category or the first screen, and you had to scroll down all over again. (#196)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6edca96..4ddbbc9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@ Notas em português do Brasil; a versão em inglês (Estados Unidos) fica em `CH
## [Unreleased]
### Mudanças
- Início: clicar num iniciador (ou apertar A nele) só escolhe o que vai abrir; quem começa é **Jogar agora**. Antes o clique já entrava no modo console, e escolher parecia abrir sozinho. No controle e no teclado, o foco desce para **Jogar agora** depois da escolha, então um segundo A joga. (#193)
+- Tour guiado: cada parada avança sozinha depois do tempo de ler o texto (de 7 a 16 s), com uma barra embaixo do cartão mostrando quanto falta, e a última fecha o tour. Ninguém fica preso numa parada se o controle não responder (houve relato com controle de PS5). **A** avança na hora e **B** pula, como antes. (#194)
### Correções
- Sistema e Sessão: escolher uma opção numa lista (resolução, saída de áudio, como desligar as outras telas...) ou fechá-la com B deixa o foco na mesma linha. Antes ele voltava para a categoria ou para a primeira tela, e era preciso descer tudo de novo. (#196)
diff --git a/docs/GUIDE.de-DE.md b/docs/GUIDE.de-DE.md
index e361f4f..230fb8a 100644
--- a/docs/GUIDE.de-DE.md
+++ b/docs/GUIDE.de-DE.md
@@ -25,7 +25,7 @@ Die **Tastenkombination für „Aktive Anwendungen“** macht mit dem Controller
## Die Oberfläche
-Console Mode hat eine einzige Oberfläche, gestaltet wie die einer Konsole: Sie füllt den Bildschirm und funktioniert mit einem Xbox- oder PlayStation-Controller, der Maus oder der Tastatur (klicke auf eine Registerkarte oder nutze Bild auf / Bild ab; Eingabe und Esc wirken wie A und B). Beim ersten Öffnen führt dich eine Tour durch die Registerkarten, die Launcher, die Spielen-Schaltfläche, die Bildschirme, die Schnelleinstellungen und die Controller-Tastenkombinationen; **A** geht weiter, **B** überspringt sie. Um sie erneut zu sehen: **System → App → Tutorial**. Während die App lädt, zeigt sie ein Intro mit dem Logo und einem Startsound; jede Taste überspringt es, ab und zu kommt als Überraschung eines im Stil der Xbox 360 oder der PS4 mit dem Sound der Konsole; unter **System → App** wählst du einen Stil (damit enden die Überraschungen), siehst es sofort an und schaltest das Intro oder nur seinen Sound aus.
+Console Mode hat eine einzige Oberfläche, gestaltet wie die einer Konsole: Sie füllt den Bildschirm und funktioniert mit einem Xbox- oder PlayStation-Controller, der Maus oder der Tastatur (klicke auf eine Registerkarte oder nutze Bild auf / Bild ab; Eingabe und Esc wirken wie A und B). Beim ersten Öffnen führt dich eine Tour durch die Registerkarten, die Launcher, die Spielen-Schaltfläche, die Bildschirme, die Schnelleinstellungen und die Controller-Tastenkombinationen; jeder Schritt geht von selbst weiter, sobald Zeit zum Lesen war (der Balken unter der Karte zeigt, wie lange noch), **A** geht sofort weiter, **B** überspringt sie. Um sie erneut zu sehen: **System → App → Tutorial**. Während die App lädt, zeigt sie ein Intro mit dem Logo und einem Startsound; jede Taste überspringt es, ab und zu kommt als Überraschung eines im Stil der Xbox 360 oder der PS4 mit dem Sound der Konsole; unter **System → App** wählst du einen Stil (damit enden die Überraschungen), siehst es sofort an und schaltest das Intro oder nur seinen Sound aus.
Unter **System → Controller** wählst du das Tastenlayout: **Automatisch**, **Xbox** oder **PlayStation**. Vorschau und Tastenbeschriftungen richten sich nach dieser Wahl, die beim Schließen der App gespeichert wird. Das ändert nur die angezeigten Symbole; die Eingaben des Controllers behalten ihre bisherige Belegung.
diff --git a/docs/GUIDE.es-ES.md b/docs/GUIDE.es-ES.md
index fe28634..2fea43c 100644
--- a/docs/GUIDE.es-ES.md
+++ b/docs/GUIDE.es-ES.md
@@ -25,7 +25,7 @@ El **atajo de la vista de tareas** hace desde el mando lo que hace Win + Tab: ab
## La interfaz
-Console Mode tiene una sola interfaz, hecha como la de una consola: ocupa toda la pantalla y funciona con un mando de Xbox o PlayStation, el ratón o el teclado (haz clic en una pestaña o usa Re Pág / Av Pág; Intro y Esc hacen de A y B). La primera vez que la abres, un recorrido guiado pasa por las pestañas, los lanzadores, el botón de jugar, las pantallas, los ajustes rápidos y los atajos del mando; **A** avanza y **B** lo salta. Para volver a verlo: **Sistema → Aplicación → Tutorial**. Mientras carga, la aplicación muestra una apertura con el logotipo y un sonido de entrada; cualquier botón la salta, de vez en cuando, por sorpresa, es una inspirada en la Xbox 360 o en la PS4, con el sonido de la consola; **Sistema → Aplicación** elige un estilo (lo que acaba con las sorpresas), la muestra al momento y desactiva la apertura o solo su sonido.
+Console Mode tiene una sola interfaz, hecha como la de una consola: ocupa toda la pantalla y funciona con un mando de Xbox o PlayStation, el ratón o el teclado (haz clic en una pestaña o usa Re Pág / Av Pág; Intro y Esc hacen de A y B). La primera vez que la abres, un recorrido guiado pasa por las pestañas, los lanzadores, el botón de jugar, las pantallas, los ajustes rápidos y los atajos del mando; cada parada avanza sola cuando ha habido tiempo de leerla (la barra bajo la tarjeta muestra cuánto falta), **A** avanza al momento y **B** lo salta. Para volver a verlo: **Sistema → Aplicación → Tutorial**. Mientras carga, la aplicación muestra una apertura con el logotipo y un sonido de entrada; cualquier botón la salta, de vez en cuando, por sorpresa, es una inspirada en la Xbox 360 o en la PS4, con el sonido de la consola; **Sistema → Aplicación** elige un estilo (lo que acaba con las sorpresas), la muestra al momento y desactiva la apertura o solo su sonido.
En **Sistema → Mando**, elige el diseño de botones: **Automático**, **Xbox** o **PlayStation**. La vista previa y las etiquetas de los atajos siguen esa elección, que se guarda al cerrar la aplicación. Esto solo cambia los símbolos que se muestran; las entradas del mando mantienen su asignación.
diff --git a/docs/GUIDE.fr-FR.md b/docs/GUIDE.fr-FR.md
index 8a5447b..b0f7e9b 100644
--- a/docs/GUIDE.fr-FR.md
+++ b/docs/GUIDE.fr-FR.md
@@ -25,7 +25,7 @@ Le **raccourci de l'affichage des tâches** fait à la manette ce que fait Win +
## L'interface
-Console Mode a une seule interface, conçue comme celle d'une console : elle occupe tout l'écran et marche avec une manette Xbox ou PlayStation, la souris ou le clavier (cliquez sur un onglet ou utilisez Page précédente / Page suivante ; Entrée et Échap font office de A et B). À la première ouverture, une visite guidée passe par les onglets, les lanceurs, le bouton Jouer, les écrans, les réglages rapides et les raccourcis manette ; **A** avance, **B** la passe. Pour la revoir : **Système → Application → Tutoriel**. Pendant le chargement, l'application affiche une ouverture avec son logo et un son d'entrée ; n'importe quel bouton la passe, de temps en temps, par surprise, c'est une inspirée de la Xbox 360 ou de la PS4, avec le son de la console ; **Système → Application** choisit un style (ce qui met fin aux surprises), la montre tout de suite et désactive l'ouverture ou seulement son son.
+Console Mode a une seule interface, conçue comme celle d'une console : elle occupe tout l'écran et marche avec une manette Xbox ou PlayStation, la souris ou le clavier (cliquez sur un onglet ou utilisez Page précédente / Page suivante ; Entrée et Échap font office de A et B). À la première ouverture, une visite guidée passe par les onglets, les lanceurs, le bouton Jouer, les écrans, les réglages rapides et les raccourcis manette ; chaque étape avance seule une fois le temps de la lire écoulé (la barre sous la carte montre ce qu'il reste), **A** avance tout de suite, **B** la passe. Pour la revoir : **Système → Application → Tutoriel**. Pendant le chargement, l'application affiche une ouverture avec son logo et un son d'entrée ; n'importe quel bouton la passe, de temps en temps, par surprise, c'est une inspirée de la Xbox 360 ou de la PS4, avec le son de la console ; **Système → Application** choisit un style (ce qui met fin aux surprises), la montre tout de suite et désactive l'ouverture ou seulement son son.
Dans **Système → Manette**, choisissez la disposition des boutons : **Automatique**, **Xbox** ou **PlayStation**. L'aperçu et les libellés des raccourcis suivent ce choix, qui est enregistré à la fermeture de l'application. Seuls les symboles affichés changent ; les entrées de la manette gardent leur correspondance actuelle.
diff --git a/docs/GUIDE.md b/docs/GUIDE.md
index 35745c7..d411389 100644
--- a/docs/GUIDE.md
+++ b/docs/GUIDE.md
@@ -29,7 +29,7 @@ The **Task View shortcut** does from the controller what Win + Tab does: it open
## The interface
-Console Mode has one interface, made like a console's: it fills the screen and works with an Xbox or PlayStation controller, the mouse or the keyboard (click a tab or use Page Up / Page Down; Enter and Esc work as A and B). The first time you open it, a guided tour walks through the tabs, the launchers, the play button, the screens, the quick settings and the controller shortcuts; **A** goes on, **B** skips it. To see it again: **System → App → Tutorial**. While the app loads it shows an opening with its logo and an entrance sound; any button skips it, now and then it is, as a surprise, one inspired by the Xbox 360 or the PS4, with that console's sound; **System → App** picks a style (which ends the surprises), plays it right away, and turns it off, or just its sound.
+Console Mode has one interface, made like a console's: it fills the screen and works with an Xbox or PlayStation controller, the mouse or the keyboard (click a tab or use Page Up / Page Down; Enter and Esc work as A and B). The first time you open it, a guided tour walks through the tabs, the launchers, the play button, the screens, the quick settings and the controller shortcuts; each stop moves on by itself once there has been time to read it (the bar under the card shows how long is left), **A** goes on at once, **B** skips it. To see it again: **System → App → Tutorial**. While the app loads it shows an opening with its logo and an entrance sound; any button skips it, now and then it is, as a surprise, one inspired by the Xbox 360 or the PS4, with that console's sound; **System → App** picks a style (which ends the surprises), plays it right away, and turns it off, or just its sound.
**Home** puts your launchers in a row at the top (Steam Big Picture, Playnite, Xbox mode): **A** on one picks what opens, and **Play now** below starts it. The line under the name says where you will play and what changes (audio, resolution, FPS, HDR, VRR); the round button next to Play now opens **Session**, with the screens and quick settings.
diff --git a/docs/GUIDE.pt-BR.md b/docs/GUIDE.pt-BR.md
index 568d8b1..9d91da4 100644
--- a/docs/GUIDE.pt-BR.md
+++ b/docs/GUIDE.pt-BR.md
@@ -29,7 +29,7 @@ O **atalho da visão de tarefas** faz pelo controle o que o Win + Tab faz: abre
## A interface
-O Console Mode tem uma interface só, feita como a de um console: ocupa a tela toda e funciona com controle Xbox ou PlayStation, mouse ou teclado (clique numa aba ou use Page Up / Page Down; Enter e Esc fazem o papel de A e B). Na primeira vez que você abre, um tour guiado passa pelas abas, pelos iniciadores, pelo botão de jogar, pelas telas, pelos ajustes rápidos e pelos atalhos do controle; **A** avança e **B** pula. Para ver de novo: **Sistema → App → Tutorial**. Enquanto carrega, o app mostra uma abertura com o logo e um som de entrada; qualquer botão pula, de vez em quando, de surpresa, vem uma inspirada no Xbox 360 ou no PS4, com o som do console; **Sistema → App** escolhe um estilo (o que acaba com as surpresas), mostra a abertura na hora e desliga a abertura ou só o som.
+O Console Mode tem uma interface só, feita como a de um console: ocupa a tela toda e funciona com controle Xbox ou PlayStation, mouse ou teclado (clique numa aba ou use Page Up / Page Down; Enter e Esc fazem o papel de A e B). Na primeira vez que você abre, um tour guiado passa pelas abas, pelos iniciadores, pelo botão de jogar, pelas telas, pelos ajustes rápidos e pelos atalhos do controle; cada parada avança sozinha depois do tempo de ler (a barra embaixo do cartão mostra quanto falta), **A** avança na hora e **B** pula. Para ver de novo: **Sistema → App → Tutorial**. Enquanto carrega, o app mostra uma abertura com o logo e um som de entrada; qualquer botão pula, de vez em quando, de surpresa, vem uma inspirada no Xbox 360 ou no PS4, com o som do console; **Sistema → App** escolhe um estilo (o que acaba com as surpresas), mostra a abertura na hora e desliga a abertura ou só o som.
O **Início** mostra os seus iniciadores numa fileira no topo (Steam Big Picture, Playnite, modo Xbox): **A** num deles escolhe o que abre, e **Jogar agora** logo abaixo começa. A linha embaixo do nome diz onde você vai jogar e o que muda (áudio, resolução, FPS, HDR, VRR); o botão redondo ao lado de Jogar agora abre a **Sessão**, com as telas e os ajustes rápidos.
diff --git a/docs/GUIDE.ru-RU.md b/docs/GUIDE.ru-RU.md
index 15c01af..c55497a 100644
--- a/docs/GUIDE.ru-RU.md
+++ b/docs/GUIDE.ru-RU.md
@@ -25,7 +25,7 @@
## Интерфейс
-У Console Mode один интерфейс, устроенный как у консоли: он занимает весь экран и работает с геймпадом Xbox или PlayStation, мышью или клавиатурой (щёлкните по вкладке или используйте Page Up / Page Down; Enter и Esc работают как A и B). При первом запуске обзор проводит по вкладкам, лаунчерам, кнопке «Играть», экранам, быстрым настройкам и сочетаниям геймпада; **A** — дальше, **B** — пропустить. Чтобы посмотреть его снова: **«Система» → «Приложение» → «Обучение»**. Пока приложение загружается, показывается заставка с логотипом и звуком; любая кнопка её пропускает, иногда для сюрприза показывается заставка в духе Xbox 360 или PS4 со звуком консоли; в **«Система» → «Приложение»** можно выбрать стиль (после этого сюрпризов не будет), сразу посмотреть её и выключить заставку или только её звук.
+У Console Mode один интерфейс, устроенный как у консоли: он занимает весь экран и работает с геймпадом Xbox или PlayStation, мышью или клавиатурой (щёлкните по вкладке или используйте Page Up / Page Down; Enter и Esc работают как A и B). При первом запуске обзор проводит по вкладкам, лаунчерам, кнопке «Играть», экранам, быстрым настройкам и сочетаниям геймпада; каждый шаг переходит к следующему сам, когда было время его прочитать (полоска под карточкой показывает, сколько осталось), **A** — дальше сразу, **B** — пропустить. Чтобы посмотреть его снова: **«Система» → «Приложение» → «Обучение»**. Пока приложение загружается, показывается заставка с логотипом и звуком; любая кнопка её пропускает, иногда для сюрприза показывается заставка в духе Xbox 360 или PS4 со звуком консоли; в **«Система» → «Приложение»** можно выбрать стиль (после этого сюрпризов не будет), сразу посмотреть её и выключить заставку или только её звук.
В разделе **«Система» → «Геймпад»** выберите раскладку кнопок: **«Автоматически»**, **Xbox** или **PlayStation**. Предпросмотр и подписи сочетаний следуют выбору, который сохраняется при закрытии приложения. Меняются только отображаемые символы; назначение кнопок геймпада остаётся прежним.
diff --git a/docs/TESTING.md b/docs/TESTING.md
index 05d3d18..1d5ff07 100644
--- a/docs/TESTING.md
+++ b/docs/TESTING.md
@@ -642,6 +642,13 @@ Pré-condições: a opção **Tirar o ponteiro do mouse do caminho** ligada (é
- [ ] Sessão: Saída de áudio e Resolução, escolhendo um valor ou fechando com B: o foco volta para o ajuste, não para a primeira tela. Resultado: ______
- [ ] Com o mouse: clicar numa opção, escolher um valor; a lista fecha e a página não pula. Resultado: ______
+## Tour que avança sozinho (#194)
+
+- [ ] Sem tocar em nada, o tour passa por todas as paradas sozinho: cada uma fica o tempo de ler (de 7 a 16 s), a barra embaixo do cartão enche nesse tempo, e a última fecha o tour e volta para o Início (reabrir o app não mostra o tour de novo). Resultado: ______
+- [ ] A (ou ✕), Voltar e um clique em Próximo agem na hora, e a parada nova começa a barra do zero. B (ou ○) e Pular tutorial fecham o tour e a barra para. Resultado: ______
+- [ ] Com o app em segundo plano (Alt + Tab para outra janela), a parada não avança; ao voltar, ela conta o tempo de novo. Resultado: ______
+- [ ] Com controle de PS5: o tour avança sozinho mesmo que os botões não respondam nele. Anotar se ✕ e ○ funcionam no tour. Resultado: ______
+
## Interface única e tour guiado (1.7.0)
Pré-condições: um `config.json` sem `consoleTourDone` (vale para quem atualiza de uma versão anterior, mesmo tendo visto o tutorial antigo). Teste com controle, só com mouse e só com teclado.
diff --git a/src/ConsoleMode/Services/ConsoleTour.cs b/src/ConsoleMode/Services/ConsoleTour.cs
index 88c3a05..8de3775 100644
--- a/src/ConsoleMode/Services/ConsoleTour.cs
+++ b/src/ConsoleMode/Services/ConsoleTour.cs
@@ -59,6 +59,17 @@ public static class ConsoleTour
///
public static bool ShouldOffer(bool tourDone, bool sessionActive) => !tourDone && !sessionActive;
+ ///
+ /// How long a stop stays before the tour moves on by itself: time to read its texts (about 16 characters a
+ /// second, from across the room), never under 7 s or over 16 s. So the tour never depends on the pad answering:
+ /// with a controller it doesn't hear (reported with a PlayStation pad), nobody is left stuck on a stop.
+ ///
+ public static TimeSpan DwellTime(string title, string body)
+ {
+ var seconds = 3 + (title.Length + body.Length) / 16.0;
+ return TimeSpan.FromSeconds(Math.Clamp(seconds, 7, 16));
+ }
+
/// The stop after (step 1) or before (-1) this one, or null past either end.
public static int? Step(int index, int step)
{
diff --git a/src/ConsoleMode/Views/ConsoleHomeView.xaml b/src/ConsoleMode/Views/ConsoleHomeView.xaml
index 1979bf2..9e8be6b 100644
--- a/src/ConsoleMode/Views/ConsoleHomeView.xaml
+++ b/src/ConsoleMode/Views/ConsoleHomeView.xaml
@@ -1215,6 +1215,10 @@
+
+
+
+
diff --git a/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs b/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs
index 9de6a69..02998c9 100644
--- a/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs
+++ b/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs
@@ -20,6 +20,7 @@ public sealed partial class ConsoleHomeView : UserControl
private GamepadNavigator? _navigator;
private bool _windowActive = true;
private Microsoft.UI.Dispatching.DispatcherQueueTimer? _clock;
+ private Microsoft.UI.Dispatching.DispatcherQueueTimer? _tourTimer;
private static Style? _cardStyle;
private static Style? _launchTileStyle;
private Control? _lastSettingsRow;
@@ -133,7 +134,10 @@ private void OnLoaded(object sender, RoutedEventArgs e)
if (App.MainWindowInstance is { } window)
window.Activated += (_, args) =>
{
+ var wasActive = _windowActive;
_windowActive = args.WindowActivationState != WindowActivationState.Deactivated;
+ // Back from another window: the tour's stop gets its full time again, bar and all.
+ if (_windowActive && !wasActive && ViewModel.IsConsoleTourOpen) StartTourCountdown();
RefreshNavigator();
};
RefreshNavigator();
@@ -209,7 +213,11 @@ private void OnViewModelChanged(object? sender, PropertyChangedEventArgs e)
else HideIntro();
break;
case nameof(MainViewModel.IsConsoleTourOpen):
- if (!ViewModel.IsConsoleTourOpen) DispatcherQueue.TryEnqueue(FocusDefault);
+ if (!ViewModel.IsConsoleTourOpen)
+ {
+ StopTourCountdown();
+ DispatcherQueue.TryEnqueue(FocusDefault);
+ }
break;
case nameof(MainViewModel.ConsoleTourIndex):
// After the tab switch (queued by ConsoleTabIndex) has laid the new page out.
@@ -777,6 +785,7 @@ private void ShowTourStop()
PlaceTour();
FadeInTourCard();
ConsoleTourNextButton.Focus(FocusState.Keyboard);
+ StartTourCountdown();
}
private FrameworkElement? TourTargetElement(ConsoleTourStop stop) => stop switch
@@ -904,6 +913,48 @@ private void FadeInTourCard()
}
}
+ ///
+ /// Each stop moves on by itself once its time is up (ConsoleTour.DwellTime), the last one closing the tour, while
+ /// the bar under the card fills. A, B or a click still act at once, and the next stop starts its own time.
+ ///
+ private void StartTourCountdown()
+ {
+ _tourTimer ??= DispatcherQueue.CreateTimer();
+ _tourTimer.Stop();
+ _tourTimer.IsRepeating = false;
+ _tourTimer.Tick -= OnTourTimeUp;
+ _tourTimer.Tick += OnTourTimeUp;
+ var dwell = ConsoleTour.DwellTime(ViewModel.ConsoleTourTitle, ViewModel.ConsoleTourBody);
+ _tourTimer.Interval = dwell;
+ _tourTimer.Start();
+ try
+ {
+ // A clock, not a decoration: it runs with Windows' animations off too.
+ var bar = ElementCompositionPreview.GetElementVisual(TourTimeBar);
+ bar.CenterPoint = Vector3.Zero;
+ var fill = bar.Compositor.CreateScalarKeyFrameAnimation();
+ fill.InsertKeyFrame(0f, 0f);
+ fill.InsertKeyFrame(1f, 1f, bar.Compositor.CreateLinearEasingFunction());
+ fill.Duration = dwell;
+ bar.StartAnimation("Scale.X", fill);
+ }
+ catch (Exception ex)
+ {
+ AppLog.Write($"Tour: barra de tempo: {ex.Message}");
+ }
+ }
+
+ private void StopTourCountdown() => _tourTimer?.Stop();
+
+ private void OnTourTimeUp(Microsoft.UI.Dispatching.DispatcherQueueTimer sender, object args)
+ {
+ sender.Stop();
+ if (!ViewModel.IsConsoleTourOpen) return;
+ // Nobody is looking at a window in the background: its stop waits for them to come back.
+ if (!_windowActive) { StartTourCountdown(); return; }
+ ViewModel.ConsoleTourNextCommand.Execute(null);
+ }
+
/// Back to the option that was in use, else the first one of the category, else the category itself.
private void FocusSystemRow()
{
diff --git a/tests/ConsoleMode.Tests/ConsoleTourTests.cs b/tests/ConsoleMode.Tests/ConsoleTourTests.cs
index 4b995f0..20cb214 100644
--- a/tests/ConsoleMode.Tests/ConsoleTourTests.cs
+++ b/tests/ConsoleMode.Tests/ConsoleTourTests.cs
@@ -7,6 +7,16 @@ namespace ConsoleMode.Tests;
public class ConsoleTourTests
{
+ [Fact]
+ public void A_stop_stays_long_enough_to_read_it_and_then_moves_on()
+ {
+ Assert.Equal(TimeSpan.FromSeconds(7), ConsoleTour.DwellTime("Hi", "Short."));
+ Assert.Equal(TimeSpan.FromSeconds(16), ConsoleTour.DwellTime("Title", new string('a', 2000)));
+ // A typical stop: a title and two sentences, about 13 s.
+ var typical = ConsoleTour.DwellTime(new string('t', 20), new string('b', 140));
+ Assert.Equal(13, typical.TotalSeconds, 1);
+ }
+
[Fact]
public void The_tour_opens_with_a_welcome_and_closes_with_the_way_back_to_it()
{