Skip to content

Commit a3a9382

Browse files
committed
Module documentation for cmdbar
1 parent 20e7756 commit a3a9382

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/cmdbar.rs

+10
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 toogle 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)