Skip to content

Commit bf8a7a9

Browse files
committed
Module documentation for cmdbar
1 parent c602674 commit bf8a7a9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/cmdbar.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*!
2+
The cmdbar module manages the [`CommandBar`] sitting at the bottom of the
3+
screen.
4+
5+
It shows a list of available keyboard commands. The full list can cover
6+
several lines, so `CommandBar` has a "more/less" feature to toggle between
7+
showing just one line or expanding.
8+
Commands can be shown as disabled, if they are not enabled in the
9+
current context.
10+
*/
111
use crate::{
212
components::CommandInfo, keys::SharedKeyConfig, strings,
313
ui::style::SharedTheme,

0 commit comments

Comments
 (0)