aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-22 10:43:26 +0200
committerGitHub <noreply@github.com>2021-05-22 10:43:26 +0200
commitd13fc7cafab760d3e69528a71c60e94785699709 (patch)
tree11c23edf3204c230f2747ebb119a1e384db12287
parentMerge pull request #529 from a-kenji/config-flags-doc (diff)
parentAdd documentation to actions struct (diff)
downloadsl0ppij-d13fc7cafab760d3e69528a71c60e94785699709.tar.gz
sl0ppij-d13fc7cafab760d3e69528a71c60e94785699709.tar.xz
sl0ppij-d13fc7cafab760d3e69528a71c60e94785699709.zip
Merge pull request #530 from a-kenji/action-doc
Add documentation to actions struct
-rw-r--r--zellij-utils/src/input/actions.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/zellij-utils/src/input/actions.rs b/zellij-utils/src/input/actions.rs
index b806aa3f..5ad771da 100644
--- a/zellij-utils/src/input/actions.rs
+++ b/zellij-utils/src/input/actions.rs
@@ -12,6 +12,10 @@ pub enum Direction {
Down,
}
+// As these actions are bound to the default config, please
+// do take care when refactoring - or renaming.
+// They might need to be adjusted in the default config
+// as well `../../../assets/config/default.yaml`
/// Actions that can be bound to keys.
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
pub enum Action {