diff options
| author | Denis Maximov <denismaximov98@gmail.com> | 2020-12-04 10:59:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-04 09:59:06 +0100 |
| commit | b7b3ff74cfa09fce1442bda42332939de4903a7d (patch) | |
| tree | e84876d04679ebbc913e9d65f6c2a45f0642fdcc /src/tests/utils.rs | |
| parent | fix(compatibility): keypad arrow fixes (#80) (diff) | |
| download | sl0ppij-b7b3ff74cfa09fce1442bda42332939de4903a7d.tar.gz sl0ppij-b7b3ff74cfa09fce1442bda42332939de4903a7d.tar.xz sl0ppij-b7b3ff74cfa09fce1442bda42332939de4903a7d.zip | |
feat(rect): directional move focus #55 (#78)
* feat: directional move focus #55
* wip: refactored match into if let
* wip: basic tests
* feat: move to most overlapping pane tests
* fix: formatting
* wip: Moved the definitions to the Rect trait
* formatting
Diffstat (limited to 'src/tests/utils.rs')
| -rw-r--r-- | src/tests/utils.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/utils.rs b/src/tests/utils.rs index 49c6a3f8..82f2bec5 100644 --- a/src/tests/utils.rs +++ b/src/tests/utils.rs @@ -67,4 +67,12 @@ pub mod commands { pub const CLOSE_FOCUSED_PANE: [u8; 1] = [120]; /// e pub const TOGGLE_ACTIVE_TERMINAL_FULLSCREEN: [u8; 1] = [101]; + /// y + pub const MOVE_FOCUS_LEFT: [u8; 1] = [121]; + /// u + pub const MOVE_FOCUS_DOWN: [u8; 1] = [117]; + /// i + pub const MOVE_FOCUS_UP: [u8; 1] = [105]; + /// o + pub const MOVE_FOCUS_RIGHT: [u8; 1] = [111]; } |
