Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

Commit

Permalink
fix: make sure switch context is in the help
Browse files Browse the repository at this point in the history
  • Loading branch information
ckipp01 committed Apr 22, 2023
1 parent 2519e32 commit 7049233
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions skan/src/ui/Board.scala
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ object Board:
Span.styled("c ", Style(add_modifier = Modifier.BOLD)),
Span.styled("(context menu)", Style(add_modifier = Modifier.DIM)),
Span.nostyle(" | "),
Span.styled("TAB ", Style(add_modifier = Modifier.BOLD)),
Span.styled("(switch context)", Style(add_modifier = Modifier.DIM)),
Span.nostyle(" | "),
Span.styled("q ", Style(add_modifier = Modifier.BOLD)),
Span.styled("(quit)", Style(add_modifier = Modifier.DIM)),
Span.nostyle(" | "),
Expand Down
24 changes: 12 additions & 12 deletions skan/test/ui/BoardUiSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -87,7 +87,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -129,7 +129,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -170,7 +170,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -213,7 +213,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -253,7 +253,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -294,7 +294,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -335,7 +335,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -377,7 +377,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -419,7 +419,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -463,7 +463,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down Expand Up @@ -509,7 +509,7 @@ class BoardUiSuite extends munit.FunSuite:
" │ ││ │ ",
" └────────────────────────────────────┘└────────────────────────────────────┘ ",
" j (↓) | k (↑) | h (←) | l (→) | ENTER (progress) | BACKSPACE (move back) | n ",
" (new) | c (context menu) | q (quit) | x (delete) ",
" (new) | c (context menu) | TAB (switch context) | q (quit) | x (delete) ",
" ",
" ",
" "
Expand Down

0 comments on commit 7049233

Please sign in to comment.