diff options
author | Aram Drevekenin <aram@poor.dev> | 2023-06-09 22:49:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 22:49:12 +0200 |
commit | 8485b1c2969e7f88feaf2f809b6b405fbe442ba4 (patch) | |
tree | 989148565b8883d9a04e35f795a3f50008c0e1b1 /zellij-server/src/plugins/unit/snapshots/zellij_server__plugins__plugin_tests__switch_to_mode_plugin_command.snap | |
parent | 7f0b87852079f260cc9a834c2dc54eeb002d5879 (diff) |
feat(plugins): extensive plugin api (#2516)
* feat(plugins): add our entire API
* style(fmt): rustfmt
* fix(detach): make it work again
Diffstat (limited to 'zellij-server/src/plugins/unit/snapshots/zellij_server__plugins__plugin_tests__switch_to_mode_plugin_command.snap')
-rw-r--r-- | zellij-server/src/plugins/unit/snapshots/zellij_server__plugins__plugin_tests__switch_to_mode_plugin_command.snap | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/zellij-server/src/plugins/unit/snapshots/zellij_server__plugins__plugin_tests__switch_to_mode_plugin_command.snap b/zellij-server/src/plugins/unit/snapshots/zellij_server__plugins__plugin_tests__switch_to_mode_plugin_command.snap new file mode 100644 index 000000000..8d699ae60 --- /dev/null +++ b/zellij-server/src/plugins/unit/snapshots/zellij_server__plugins__plugin_tests__switch_to_mode_plugin_command.snap @@ -0,0 +1,79 @@ +--- +source: zellij-server/src/plugins/./unit/plugin_tests.rs +assertion_line: 455 +expression: "format!(\"{:#?}\", switch_to_mode_event)" +--- +Some( + ChangeMode( + ModeInfo { + mode: Tab, + keybinds: [], + style: Style { + colors: Palette { + source: Default, + theme_hue: Dark, + fg: EightBit( + 0, + ), + bg: EightBit( + 0, + ), + black: EightBit( + 0, + ), + red: EightBit( + 0, + ), + green: EightBit( + 0, + ), + yellow: EightBit( + 0, + ), + blue: EightBit( + 0, + ), + magenta: EightBit( + 0, + ), + cyan: EightBit( + 0, + ), + white: EightBit( + 0, + ), + orange: EightBit( + 0, + ), + gray: EightBit( + 0, + ), + purple: EightBit( + 0, + ), + gold: EightBit( + 0, + ), + silver: EightBit( + 0, + ), + pink: EightBit( + 0, + ), + brown: EightBit( + 0, + ), + }, + rounded_corners: false, + hide_session_name: false, + }, + capabilities: PluginCapabilities { + arrow_fonts: true, + }, + session_name: Some( + "zellij-test", + ), + }, + 1, + ), +) |