mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
add menu with stub options
This commit is contained in:
parent
f2cecb29b3
commit
f8994d3e2d
1 changed files with 3 additions and 1 deletions
|
|
@ -881,7 +881,9 @@ impl Content<TuiOut> for Modal {
|
|||
|
||||
impl Modal {
|
||||
fn view_menu (&self) -> impl Content<TuiOut> {
|
||||
"menu"
|
||||
let options = ||["Projects", "Settings", "Help", "Quit"].iter();
|
||||
let option = |a,i|Tui::fg(Color::Rgb(255,255,255), format!("{}", a));
|
||||
Bsp::s(Tui::bold(true, "tek!"), Bsp::s("", Map::south(1, options, option)))
|
||||
}
|
||||
fn view_help (&self) -> impl Content<TuiOut> {
|
||||
let bindings = ||TokenIter::new(include_str!("../edn/groovebox_keys.edn"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue