-
-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(panes): Add an option to press <ESC> and drop to shell in comman…
…d panes (#2872) * feat(panes): ESC to drop to default shell on command panes * style(fmt): rustfmt
- Loading branch information
Showing
21 changed files
with
194 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 24 additions & 24 deletions
48
src/tests/e2e/snapshots/zellij__tests__e2e__cases__send_command_through_the_cli.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
--- | ||
source: src/tests/e2e/cases.rs | ||
assertion_line: 2031 | ||
assertion_line: 2175 | ||
expression: last_snapshot | ||
--- | ||
Zellij (e2e-test) Tab #1 | ||
┌ Pane #1 ─────────────────────────────────────────────────┐┌ /usr/src/zellij/fixtures/append-echo-script.sh ──────────┐ | ||
│$ /usr/src/zellij/x86_64-unknown-linux-musl/release/zellij││foo │ | ||
│ run -s -- "/usr/src/zellij/fixtures/append-echo-script.sh││foo │ | ||
│" ││█ │ | ||
│$ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
└──────────────────────────────────────────────────────────┘└ [ EXIT CODE: 0 ] <ENTER> to re-run, <Ctrl-c> to exit ────┘ | ||
Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT | ||
Tip: Alt + <n> => new pane. Alt + <←↓↑→> or Alt + <hjkl> => navigate. Alt + <+|-> => resize pane. | ||
┌ Pane #1 ────────────────────────────────────────────────────────────────┐┌ /usr/src/zellij/fixtures/append-echo-script.sh ─────────────────────────┐ | ||
│$ /usr/src/zellij/x86_64-unknown-linux-musl/release/zellij run -s -- "/us││foo │ | ||
│r/src/zellij/fixtures/append-echo-script.sh" ││foo │ | ||
│$ ││█ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
│ ││ │ | ||
└─────────────────────────────────────────────────────────────────────────┘└ [ EXIT CODE: 0 ] <ENTER> re-run, <ESC> drop to shell, <Ctrl-c> exit ────┘ | ||
Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT Alt + <[]> VERTICAL | ||
Tip: Alt + <n> => open new pane. Alt + <←↓↑→> or Alt + <hjkl> => navigate between panes. Alt + <+|-> => increase/decrease pane size. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.