Replies: 1 comment
-
+1 My use case is modal key binding similar to Vim. E.g.:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently the bindings in Textual are binary. The
show
attribute just hides them but they are still active.I would like to be able to have a
disabled
attribute that would be read/write that would show the binding but in a disabled state.There are instances when you want to have commands active only in a particular context. I don't want to show the Edit command if a file isn't selected and I don't want to show the Write command if the file isn't dirty.
Suggestions
Beta Was this translation helpful? Give feedback.
All reactions