mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-10-31 15:20:13 +00:00
add menu example to README
This commit is contained in:
parent
43bf0874d7
commit
6e97501ef7
11
README.md
11
README.md
@ -2220,6 +2220,17 @@ void ncselector_destroy(struct ncselector* n, char** item);
|
||||
|
||||
### Menus
|
||||
|
||||
```
|
||||
Schwarzgerät File Help
|
||||
xxxxxxxxxxxxxxxx╭─────────────╮xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
xxxxxxxxxxxxxxxx│New Ctrl+n│xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
xxxxxxxxxxxxxxxx│Open Ctrl+o│xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
xxxxxxxxxxxxxxxx│Close Ctrl+c│xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
xxxxxxxxxxxxxxxx├─────────────┤xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
xxxxxxxxxxxxxxxx│Quit Ctrl+q│xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
xxxxxxxxxxxxxxxx╰─────────────╯xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
```
|
||||
|
||||
Horizontal menu bars are supported, on the top or bottom rows of the screen. If
|
||||
the menu bar is longer than the screen, it will be only partially visible, but
|
||||
any unrolled section will be visible. Menus may be either visible or invisible
|
||||
|
Loading…
Reference in New Issue
Block a user