pub fn with_keys_str(keys: &[&str]) -> BindingOptExpand description
Creates a binding option that sets the keys from string names.
This function provides Go-style WithKeys functionality, allowing you to
set multiple key bindings using human-readable string representations.
§Arguments
keys- Array of string key representations
§Examples
use bubbletea_widgets::key::{new_binding, with_keys_str, with_help};
let binding = new_binding(vec![
with_keys_str(&["ctrl+s", "alt+s", "f2"]),
with_help("ctrl+s", "Save file"),
]);