Skip to content

Commit

Permalink
Clarifying the meaning of DFS.
Browse files Browse the repository at this point in the history
  • Loading branch information
mum4k committed Nov 24, 2020
1 parent e8565e7 commit 1fd4b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container/options.go
Expand Up @@ -842,7 +842,7 @@ func Bottom(opts ...Option) BottomOption {
// container when pressed.
//
// Containers are organized in a binary tree, when the focus moves to the next
// container, it targets the next leaf container in a DFS traversal.
// container, it targets the next leaf container in a DFS (Depth-first search) traversal.
// Non-leaf containers are skipped. If the currently focused container is the
// last container, the focus moves back to the first container.
//
Expand All @@ -860,7 +860,7 @@ func KeyFocusNext(key keyboard.Key) Option {
// previous container when pressed.
//
// Containers are organized in a binary tree, when the focus moves to the previous
// container, it targets the previous leaf container in a DFS traversal.
// container, it targets the previous leaf container in a DFS (Depth-first search) traversal.
// Non-leaf containers are skipped. If the currently focused container is the
// first container, the focus moves back to the last container.
//
Expand Down

0 comments on commit 1fd4b04

Please sign in to comment.