a-kenji
105ae61682
docs(changelog): noop for mouse actions on plugins
2021-07-20 16:27:32 +02:00
a-kenji
855572f526
Merge pull request #620 from a-kenji/plugin-crash-on-mouse-event
...
Add noop for mouse actions on `plugins`
2021-07-20 16:26:20 +02:00
a-kenji
697ba09c71
Add noop for mouse actions on plugins
...
* Comments the `unimplemented!` macro out, in favor of a noop
The macro is still there for easy greppability.
It is still unimplemented, but zellij doesn't need to panic once
a plugin does get a scroll event.
2021-07-20 15:08:38 +02:00
Brooks J Rady
55bc1feee1
chore(release): rotate changelog
2021-07-19 20:50:01 +01:00
Brooks J Rady
7de19dc6df
fix(style): bury the dead (code)
2021-07-19 20:49:23 +01:00
Brooks J Rady
6a90542ae3
chore(release): bump development version
2021-07-19 20:35:50 +01:00
Brooks J Rady
d097c521ac
chore(release): v0.15.0
2021-07-19 20:27:58 +01:00
Paweł Palenica
27634423d9
Minor fixes
2021-07-17 23:50:24 -07:00
Paweł Palenica
3326f521ef
Fix clippy
2021-07-13 23:46:36 -07:00
Paweł Palenica
9044dbcec3
small touchups
2021-07-13 23:31:16 -07:00
Paweł Palenica
b15cfba6e1
Apply code review suggestions. Rename decorating_pipe to logging_pipe. Add plugin_id to plugin log. Move logger init from file to in-code initialization and change logging file to zellij directory. Change format of timestamp.
2021-07-13 23:29:04 -07:00
Lovecraftian Horror
b25842a563
Display just session name with tab names
2021-07-09 15:45:39 -04:00
Lovecraftian Horror
eb6e49c260
Move ModeInfo::new()
back to get_mode_info()
2021-07-09 15:21:47 -04:00
a-kenji
3df0210647
Fix formating of markdown
2021-07-09 17:49:36 +02:00
a-kenji
be1cb626ee
Fix formatting of markdown
2021-07-09 17:47:21 +02:00
a-kenji
910c3d4291
docs(changelog): Add on_force_close
#609
2021-07-09 17:29:37 +02:00
a-kenji
22b30599d8
Merge pull request #612 from a-kenji/improve-options
...
Improve options
2021-07-09 17:25:27 +02:00
a-kenji
f755ef23d9
docs(changelog): Add commands to layout #600
2021-07-09 17:08:01 +02:00
a-kenji
0ab00e2c6c
Merge pull request #600 from a-kenji/layout-command
...
Add commands to layout
2021-07-09 16:58:29 +02:00
a-kenji
261e691f9f
Add commands to layout
...
Add the ability to run commands on loading a layout:
```
- direction: Horizontal
split_size:
Percent: 50
run:
command: {cmd: htop}
```
or respectively:
```
- direction: Horizontal
split_size:
Percent: 50
run:
command: {cmd: htop, args: ["-C"]}
```
In order to specify the difference of commands and
plugins now the plugins need to be under the `run` section:
```
- direction: Vertical
split_size:
Fixed: 2
run:
plugin: status-bar
```
This also means that this is a breaking change for people
that already have a custom layout.
Example layouts:
```
---
direction: Vertical
parts:
- direction: Horizontal
split_size:
Percent: 50
parts:
- direction: Vertical
split_size:
Percent: 50
- direction: Vertical
split_size:
Percent: 50
run:
command: {cmd: htop}
- direction: Horizontal
split_size:
Percent: 50
run:
command: {cmd: htop}
```
and:
```
---
direction: Horizontal
parts:
- direction: Vertical
split_size:
Fixed: 1
run:
plugin: tab-bar
- direction: Vertical
parts:
- direction: Vertical
parts:
- direction: Vertical
split_size:
Percent: 50
run:
command: {cmd: htop}
- direction: Vertical
split_size:
Percent: 50
run:
command: {cmd: htop, args: ["-C"]}
- direction: Vertical
split_size:
Fixed: 5
- direction: Vertical
split_size:
Fixed: 2
run:
plugin: status-bar
```
closes #551 , closes #284
2021-07-09 16:43:44 +02:00
a-kenji
8363705939
Add serde-alias for on_force_close
...
* It doesn't deserialize from the configuration otherwise,
if specified in lower-case.
Alternative: use a rename.
2021-07-09 15:05:47 +02:00
a-kenji
cf8d5a7a4d
Use lowercase for options
2021-07-09 13:11:02 +02:00
a-kenji
89f84ecd3f
Simplify merging of options
2021-07-09 13:09:05 +02:00
a-kenji
6299660d5c
Add doc-comment for mouse-mode
2021-07-09 11:57:52 +02:00
a-kenji
337674b073
Improve clarity of precedence in options
2021-07-09 11:56:49 +02:00
Kunal Mohan
0e6e581356
Merge pull request #609 from zellij-org/force-close
...
Add on_force_close config option
2021-07-09 12:50:04 +05:30
qepasa
a38c176646
Update Cargo.toml
2021-07-09 07:56:54 +02:00
qepasa
383446d025
Update Cargo.toml
2021-07-09 07:56:20 +02:00
qepasa
45d2992a3f
Merge branch 'main' into unified-logging
2021-07-08 22:55:50 -07:00
Paweł Palenica
3b78d7d0a4
More cleanup, remove serde from zellij-server
2021-07-08 22:01:03 -07:00
Paweł Palenica
8d864e1fbf
remove one more crate from zellij-server
2021-07-08 21:53:22 -07:00
Paweł Palenica
a076d9ef14
Cleanup
2021-07-08 21:49:56 -07:00
Paweł Palenica
13b5d1e58f
Add padding to logger
2021-07-08 21:43:19 -07:00
Kunal Mohan
56af1d8640
Add doc comment for the on_force_close option
2021-07-09 00:42:06 +05:30
Kunal Mohan
67ee63548a
Add on_force_close config option
2021-07-09 00:36:47 +05:30
Lovecraftian Horror
4fcf558156
Display session name within session
2021-07-08 14:16:25 -04:00
Paweł Palenica
ba21b86435
Cleanup log config file a bit, make format verbose so everyone can understand it without looking into log4rs docs
2021-07-07 23:27:07 -07:00
Paweł Palenica
21b88281ce
Add test case for malformed input and detect too long messages
2021-07-07 23:14:50 -07:00
Paweł Palenica
46cac59d4c
Add unit tests for decorating pipe and clean it up a bit
2021-07-07 22:54:38 -07:00
a-kenji
50d049a0ed
docs(changelog): Change Run binding #602
...
Change
```
Run: {command: <path>, args: [ARGS], direction: <direction> }
```
into
```
Run: {cmd: <path>, args: [ARGS], direction: <direction> }
```
2021-07-07 11:09:26 +02:00
a-kenji
c1f57535e7
Merge pull request #602 from a-kenji/run-command-rename
...
Change name of `Run` binding for actions
2021-07-07 11:08:19 +02:00
Paweł Palenica
13dd445574
Some progress on decorating pipe. Add some logic to handle endl in plugin messages. Basic logging from plugins works now.
2021-07-06 23:41:37 -07:00
a-kenji
af86edcf99
Change name of Run
binding for actions
...
* Change
```
Run: {command: <path>, args: [ARGS], direction:<direction> }
```
into
```
Run: {cmd: <path>, args: [ARGS], direction:<direction> }
```
2021-07-06 23:42:05 +02:00
Kunal Mohan
eb7f0773c5
Merge pull request #598 from zellij-org/rm-feat-test
...
Remove test feature and hacks
2021-07-06 21:51:28 +05:30
Kunal Mohan
e2949509a2
Add custom function for unit test in zellij-utils
2021-07-06 21:32:44 +05:30
Kunal Mohan
82288c6a3d
Remove test feature and hacks
2021-07-06 21:32:43 +05:30
Aram Drevekenin
79c30e9d59
docs(changelog): kill children properly
2021-07-05 18:52:15 +02:00
Aram Drevekenin
47206866b6
fix(os): attempt to stop children with SIGTERM before SIGKILL ( #601 )
...
* fix(os): attempt to stop children with SIGTERM before SIGKILL
* style(fmt): make rustfmt happy
2021-07-05 18:51:14 +02:00
Aram Drevekenin
9c419a0a4f
docs(changelog): fix version number again :)
2021-07-05 11:08:58 +02:00
Aram Drevekenin
50a580f6bd
docs(changelog): fix version number
2021-07-05 11:08:26 +02:00