diff --git a/src/textual/app.py b/src/textual/app.py index 5d913ed6ad..21644bd6bf 100644 --- a/src/textual/app.py +++ b/src/textual/app.py @@ -4319,7 +4319,7 @@ def get_keymap(self) -> Keymap: """Gets the keymap used to override default keyboard shortcuts. This may be overridden by subclasses to change the keyboard - shortcuts used by the application on startup (e.g. by loading + shortcuts used by the application (e.g. by loading from a config/keymap file). Returns: diff --git a/src/textual/binding.py b/src/textual/binding.py index 9fe488da21..f5b360c426 100644 --- a/src/textual/binding.py +++ b/src/textual/binding.py @@ -385,8 +385,8 @@ class Keymap: in the keymap. Textual will look for bindings with the same ID as the - the keys in this mapping, and replacing the key strings in the - default binding with the key strings in this mapping. + the keys in this mapping, and replace the key strings in the + default binding with the key strings from this mapping. The mapping is immutable - it's created once and then should never be mutated at runtime.