Commit Graph

2675 Commits

Author SHA1 Message Date
Aram Drevekenin
8ffa99ae68 fix(cli): tab and pane name input 2024-04-24 11:27:38 +02:00
Aram Drevekenin
9824557d0d
docs(changelog): attach options fix 2024-04-22 12:43:43 +02:00
Aram Drevekenin
cb026b3cfe
fix(cli): merge attach options (#3288) 2024-04-22 12:42:37 +02:00
Aram Drevekenin
162a6dd93d
docs(changelog): fix frozen sessions 2024-04-19 18:31:14 +02:00
Aram Drevekenin
b02e026e35
fix(router): deadlock when unblocking input thread (#3281) 2024-04-19 18:29:49 +02:00
Aram Drevekenin
07dddc60fc chore(version): bump development version 2024-04-16 12:03:02 +02:00
Aram Drevekenin
45cc452b04 chore(release): v0.40.0 2024-04-16 09:15:13 +02:00
Aram Drevekenin
41efc0db67
docs(changelog): create background 2024-04-15 17:38:10 +02:00
Aram Drevekenin
954bdcb1a2
fix(cli): rename attach --background to attach --create-background (#3265)
* fix(cli): rename background to create_background

* fix(cli): change create-background shortcut
2024-04-15 17:37:38 +02:00
Aram Drevekenin
d473c7291d
docs(changelog): resurrection fixes 2024-04-15 17:09:21 +02:00
Aram Drevekenin
5441309c5c
fix(resurrection): some ui fixes (#3264) 2024-04-15 17:06:29 +02:00
Jae-Heon Ji
ee9aae789c
docs(changelog): fix compact-bar mode indicator 2024-04-15 00:58:04 +09:00
Cristian Dominguez
e4322dc1fd
fix(compact-bar): properly pad mode indicator (#3260) 2024-04-15 00:55:43 +09:00
Aram Drevekenin
988491fe69
docs(changelog): configure disabling metadata 2024-04-12 16:16:11 +02:00
Aram Drevekenin
89ce355c04
feat(config): allow disabling writing session metadata to disk (#3258)
* feat(config): allow disabling writing session metadata to disk

* style(fmt): rustfmt
2024-04-12 16:15:11 +02:00
Aram Drevekenin
1c883c2a83
docs(changelog): start session in the background 2024-04-12 15:40:35 +02:00
Aram Drevekenin
e68bc649d6
feat(cli): allow starting a session detached (#3257)
* feat(cli): allow starting a session detached

* fix tests
2024-04-12 15:39:36 +02:00
Aram Drevekenin
a0f48c6731
docs(readme): update roadmap and remove extraneous section (#3252) 2024-04-10 20:29:50 +02:00
Aram Drevekenin
57676f161f
fix(swap-layouts): properly identify plugin aliases with initial cwd (#3250)
* fix(swap-layouts): properly identify plugin aliases with initial cwd

* style(fmt): rustfmt
2024-04-10 17:00:04 +02:00
Aram Drevekenin
2b6d4ad8e5
docs(changelog): swap layout fix 2024-04-10 15:27:57 +02:00
Aram Drevekenin
41dbe65e26
fix(layouts): recover from resurrection crash and pick up swap layouts properly (#3249)
* fix(layouts): recover from issues in the constraint system

* fix(keybinds): pick up swap layouts for new tab keybinding
2024-04-10 15:26:54 +02:00
Aram Drevekenin
462239b535
fix(plugins): various pre-release issues (#3246)
* fix(strider): close_self instead of close_focus

* fix(plugins): populate caller_cwd for all aliases

* fix(config): launch the session-manager alias rather than the explicit internal url

* style(fmt): rustfmt

* fix tests
2024-04-05 18:43:14 +02:00
Aram Drevekenin
52e81bec7d
docs(changelog): serialize UI components 2024-04-05 15:03:32 +02:00
Zykino
b10ccb8b6f
feat(plugins): format UI components API (#3193)
* feat: Add serialization methods to ui components

* Revert: do not modify the `print` method at all

---------

Co-authored-by: Zykino <3809938+Zykino@users.noreply.github.com>
2024-04-05 15:02:36 +02:00
har7an
cf18fb3867
utils/cli: Add move-tab action (#3244)
* utils/cli: Add `move-tab` action

which was previously only exposed through keybindings.

* CHANGELOG: Add PR 3244.
2024-04-04 13:26:42 +00:00
Aram Drevekenin
d267948689
docs(changelog): zellij:OWN_URL 2024-03-28 15:38:40 +01:00
Aram Drevekenin
9885664fa4
feat(plugins): allow plugins to specify own_url in pipe destination (#3232) 2024-03-28 15:36:28 +01:00
Aram Drevekenin
2908d2fcef
style(fmt): remove plugin compilation warnings (#3231) 2024-03-28 14:29:18 +01:00
Aram Drevekenin
1f9dfdfb76
docs(changelog): close_self plugin API 2024-03-27 20:25:31 +01:00
Aram Drevekenin
9d2e7fe2c1
feat(plugins): add api to close current plugin instance (#3228) 2024-03-27 20:24:18 +01:00
Aram Drevekenin
c83b6cc38d
docs(changelog): plugin serialization fix 2024-03-27 11:54:11 +01:00
Axel H
a54a7ea2bd
fix(plugins): session layouts are still serialized using the legacy plugin syntax (remote:) (#3224)
* fix(plugins): session layouts were still serialized using the legacy plugin syntax (remote:)

* use example domain

* style(fmt): rustfmt

---------

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2024-03-27 11:53:26 +01:00
Aram Drevekenin
fc1026dff0
chore(readme): add sponsor 2024-03-27 09:18:29 +01:00
Aram Drevekenin
ecefe1e6ee
docs(changelog): dump layout API 2024-03-26 18:45:57 +01:00
Aram Drevekenin
2eaa50cc44
feat(plugins): add api to dump the current session layout to a plugin (#3227) 2024-03-26 18:44:56 +01:00
Aram Drevekenin
b24dd87b80
docs(changelog): ui fixes 2024-03-26 16:38:36 +01:00
Aram Drevekenin
631ffd9bc4
fix(ui): session manager UI fixes (#3226)
* fix(ui): display new session folder prompt always

* fix(ui): truncate session name and error on too long a name

* fix(ui): scrolling layout list in welcome screen

* style(fmt): rustfmt
2024-03-26 16:37:42 +01:00
Aram Drevekenin
69835df5fc
docs(changelog): binding ctrl space 2024-03-26 12:13:40 +01:00
Ido Yariv
03e8a9398a
fix(keybindings): add support for binding Ctrl-Space (#3101)
* Add support for binding Ctrl-@

On most terminals, typing Ctrl-@ results in a null character with no
modifier.

Moreover, Ctrl-Space is commonly mapped as an alias for Ctrl-@, making
it easier to bind it as well.

* style(fmt): rustfmt

---------

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2024-03-26 12:12:58 +01:00
Aram Drevekenin
71ac381a21
docs(changelog): ctrl/alt F key modifiers 2024-03-25 15:06:08 +01:00
Bradford Hovinen
312817fcf6
fix(config): add support for Ctrl and Alt modifiers on function keys in keybindings (#3179)
Previously, it was not possible to define keybindings with a modifier
and a function key. The `Key` enum only supported combinging the Ctrl
and Alt modifiers with letters. This is somewhat limiting: I would like
to make the Zellij keybindings more "distant" than those used in the
programs I use from within Zelilj, so that Zellij does not intefere with
those programs. Thus I would like to move some of the keybindings from
Ctrl+<character> to Ctrl+<function key>.

This change adds:

  * support for function keys with the Ctrl and Alt modifiers in the
    `Key` enum,
  * support for parsing such keybindings from the configuration file,
  * support for such keybindings in the protobuf which communicates the
    keybindings to plugins, and
  * support for these keybindings in the plugin API.

This is tested by modifying one of the e2e tests to include an example
of such keybindings. This verifies that the configuration is correctly
parsed, communicated with the plugin, and rendered.
2024-03-25 15:04:38 +01:00
Aram Drevekenin
223730f04a
style(fmt): fix warnings (#3223)
* fix warnings in zellij-server

* style(fmt): remove warnings

* style(fmt): rustfmt
2024-03-25 14:22:52 +01:00
Cristian Dominguez
8b2263ecf3
feat(cli): add run/edit in-place functions (#3038)
Co-authored-by: Aram Drevekenin <aram@poor.dev>
2024-03-25 12:31:02 +01:00
István Donkó
1958e9467e
fix: adjust duplicated cli alias (#3071) 2024-03-25 12:03:10 +01:00
Aram Drevekenin
87a43383d5
docs(changelog): fix for wrong window size on terminal startup 2024-03-25 10:30:25 +01:00
Aram Drevekenin
86e91ae137
fix(startup): recover from race condition that causes Zellij to start in the wrong size (#3218)
* fix(startup): recover from Zellij starting up in the wrong size

* style(fmt): rustfmt

* fix tests
2024-03-25 10:28:21 +01:00
Jae-Heon Ji
b24386e6b1
docs(changelog): add feat for sorthing session list 2024-03-24 23:37:25 +09:00
toymil
9deb033340
feat: list-sessions show newest sessions last, for better user experience (#3194)
* feat: sort `list-sessions` from oldest to newest

by putting the most recent sessions last, the user won't need to scroll back up
to see active sessions when there are a lot of resurrectable sessions.

* feat: add an `--reverse` option to the `list-sessions` subcommand

the `--reverse` flag reverts sorting order back to the old "newest sessions
first".  also updated call sites of `list_sessions` and `print_sessions` with
`reverse: true`, to keep the original behavior everywhere else except the output
of `list-sessions` subcommand.

* chore: update the help message

---------

Co-authored-by: Jae-Heon Ji <atx6419@gmail.com>
2024-03-24 23:30:47 +09:00
Aram Drevekenin
5fb75ab6d1
fix(swap-layouts): properly identify plugin aliases (#3217) 2024-03-22 17:01:17 +01:00
Aram Drevekenin
6a3ecb1a3c
docs(changelog): pipe keybind 2024-03-21 16:53:09 +01:00