diff options
| author | Pierre Kisters <1524059+lhns@users.noreply.github.com> | 2026-07-17 15:24:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-17 15:24:52 +0200 |
| commit | d9682a2eef5ac0236808f05337f4f224bcf9d55f (patch) | |
| tree | d0fc3b71324b4caa14ca99a89f0e07f74bd4a7fe /src/tests | |
| parent | docs(changelog): pane rename clear fix (diff) | |
| download | sl0ppij-d9682a2eef5ac0236808f05337f4f224bcf9d55f.tar.gz sl0ppij-d9682a2eef5ac0236808f05337f4f224bcf9d55f.tar.xz sl0ppij-d9682a2eef5ac0236808f05337f4f224bcf9d55f.zip | |
fix: input spam when moving mouse while typing by splitting the input bytes into their respective events (#5323)
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/e2e/cases.rs | 2 | ||||
| -rw-r--r-- | src/tests/e2e/snapshots/zellij__tests__e2e__cases__send_blocking_command_through_the_cli.snap | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/e2e/cases.rs b/src/tests/e2e/cases.rs index b83a7c6a..f7d36999 100644 --- a/src/tests/e2e/cases.rs +++ b/src/tests/e2e/cases.rs @@ -23,7 +23,7 @@ use super::remote_runner::{RemoteRunner, RemoteTerminal, Step}; pub const QUIT: [u8; 1] = [17]; // ctrl-q pub const ESC: [u8; 1] = [27]; -pub const ENTER: [u8; 2] = [10, 13]; // '\n\r' +pub const ENTER: [u8; 1] = [13]; // '\r' pub const SPACE: [u8; 1] = [32]; pub const LOCK_MODE: [u8; 1] = [7]; // ctrl-g diff --git a/src/tests/e2e/snapshots/zellij__tests__e2e__cases__send_blocking_command_through_the_cli.snap b/src/tests/e2e/snapshots/zellij__tests__e2e__cases__send_blocking_command_through_the_cli.snap index c1a0ac4c..1dbe9a30 100644 --- a/src/tests/e2e/snapshots/zellij__tests__e2e__cases__send_blocking_command_through_the_cli.snap +++ b/src/tests/e2e/snapshots/zellij__tests__e2e__cases__send_blocking_command_through_the_cli.snap @@ -4,10 +4,8 @@ expression: last_snapshot --- Zellij (e2e-test) Tab #1 + $ /usr/src/zellij/zellij run --blocking --floating --close-on-exit -- bash -c 'sleep 2 && exit 42' -$ $ echo $? 42 -$ $ █ @@ -25,4 +23,6 @@ $ █ - Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT Alt + <n> New Pane <f> Floating + + + Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT Alt + <n> New Pane <f> Floating |
