Commit Graph

1703 Commits

Author SHA1 Message Date
Aram Drevekenin
a9ca64a260
docs(changelog): additional background pad fix 2022-04-09 13:35:48 +02:00
Aram Drevekenin
c08145ef5a
fix(compatibility): single line scroll and other edge cases (#1307) 2022-04-09 13:34:32 +02:00
Aram Drevekenin
8097ae3903
docs(changelog): background color scrolling fix 2022-04-09 00:01:30 +02:00
Aram Drevekenin
bd39891f78
fix(compatibility): keep colors when scrolling (#1305) 2022-04-09 00:00:02 +02:00
Thomas Linford
ae2453ee68
docs(changelog): nord theme 2022-04-08 09:09:09 +02:00
smonv
2aef1d5957
feat(theme): add nord theme to example (#1304) 2022-04-08 09:07:56 +02:00
Thomas Linford
d770388e4b
docs(changelog): wsl paste fix 2022-04-07 18:49:14 +02:00
Thomas Linford
ff5773bc6e
chore(deps): update termwiz to 0.16.0 (#1303) 2022-04-07 18:47:36 +02:00
a-kenji
4d69ef6284
add: musl package to nix (#1297)
Build a musl package from the repo, by invoking:
```
nix build "github:zellij-org/zellij#zellij-musl"
```
makes it possible to build bundled applications, that don't need patches
to run:
```
nix bundle --bundler github:NixOS/bundlers#toDEB "github:zellij-org/zellij#zellij-musl"
```
This will build a `.deb` file, that can be installed with apt.
2022-04-04 20:51:53 +02:00
a-kenji
54f7143249
fix: remove redundant rustc from buildInputs (#1296)
Move `ructc` & `cargo` to devInput, for the devShell.
2022-04-04 20:51:01 +02:00
a-kenji
25d79fd429 add: musl target to rust-toolchain 2022-04-04 20:21:55 +02:00
a-kenji
cf3f3f4b5e
add: musl target to rust-toolchain (#1294)
Add `x86_64-unknown-linux-musl` target to `rust-toolchain`,
so that people are able to build the e2e tests.

Fixes #610
2022-04-04 20:19:36 +02:00
a-kenji
b82d9c67db
add: .git-blame-ignore-revs file (#1295)
Add `.git-blame-ignore-revs` file. That way we can accept `fmt` and
`clippy` PR's, that change quite a bit of our codebase without
negatively impacting the functionality of `git blame`.

Anyone wishing to use this file can set:
```
$ git config blame.ignoreRevsFile .git-blame-ignore-revs
```
2022-04-04 19:58:28 +02:00
a-kenji
2353295eb5
flake.lock: Update (#1291)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/1d08ea2bd83abef174fb43cbfb8a856b8ef2ce26' (2022-03-23)
  → 'github:nixos/nixpkgs/710fed5a2483f945b14f4a58af2cd3676b42d8c8' (2022-03-30)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/007b22cd37d1e847ce5f042754f95c09f4be93a3' (2022-03-26)
  → 'github:oxalica/rust-overlay/7c90e17cd7c0b9e81d5b23f78b482088ac9961d1' (2022-04-02)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-03 12:51:18 +02:00
Kunal Mohan
9f716487ca
Improve theme usage + add default ones (#1274)
* Remove gray from theme config and improve colors for dark themes

* improve theme usage

* Add new themes and minor fixes

* improve tokyo-night theme according to new changes

* Fix formatting

* change default black colour

* docs(CHANGELOG): #1274 improve themes
2022-04-02 03:19:42 +05:30
Aram Drevekenin
8439198636 chore(version): bump development version 2022-03-31 15:07:18 +02:00
Aram Drevekenin
a4676741f1 chore(release): v0.27.0 2022-03-31 14:41:42 +02:00
Aram Drevekenin
9e64e43a05 docs(changelog): new version 2022-03-31 14:41:07 +02:00
Aram Drevekenin
b4e113c6a4
fix(compatibility): don't crash on invalid state when padding line (#1285) 2022-03-30 09:48:41 +02:00
Thomas Linford
8ab6873ba6
docs(changelog): revert csi erase display fix 2022-03-29 19:17:07 +02:00
Thomas Linford
e537ba9b9d
Revert "fix(compatibilty): do not use current cursor style in csi erase display (#1142)" (#1283)
This reverts commit efd2fa412f.
2022-03-29 19:14:15 +02:00
Thomas Linford
79421fbc92
docs(changelog): selection background render fix 2022-03-28 20:40:10 +02:00
Thomas Linford
303123f9c6
fix(selection): rendering of characters with unset background (#1250)
create cursor with RESET_STYLES instead of empty styles
2022-03-28 20:36:51 +02:00
Aram Drevekenin
3e5eb42f0e
fix(ui): add missing closing > (#1280) 2022-03-28 17:34:44 +02:00
dependabot[bot]
618aea12b6
build(deps): bump actions/cache from 2 to 3 (#1277)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 15:05:33 +02:00
Aram Drevekenin
e8dc5d8b34
docs(changelog): ansi scroll fix 2022-03-28 12:41:12 +02:00
Aram Drevekenin
6443a727ea
fix(compatibility): ansi scroll down (#1279)
* fix(compatibility): ansi scroll down

* style(fmt): rustfmt
2022-03-28 12:39:54 +02:00
dependabot[bot]
a4ad296875
build(deps): bump log from 0.4.14 to 0.4.16 (#1278)
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/commits)

---
updated-dependencies:
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 10:40:45 +02:00
a-kenji
e1290f05ae
flake.lock: Update (#1275)
Flake lock file updates:

• Updated input 'flake-compat':
    'github:edolstra/flake-compat/b7547d3eed6f32d06102ead8991ec52ab0a4f1a7' (2022-01-03)
  → 'github:edolstra/flake-compat/64a525ee38886ab9028e6f61790de0832aa3ef03' (2022-03-25)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/3cecb5b042f7f209c56ffd8371b2711a290ec797' (2022-02-07)
  → 'github:numtide/flake-utils/0f8662f1319ad6abf89b3380dd2722369fc51ade' (2022-03-26)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/73ad5f9e147c0d2a2061f1d4bd91e05078dc0b58' (2022-03-14)
  → 'github:nixos/nixpkgs/1d08ea2bd83abef174fb43cbfb8a856b8ef2ce26' (2022-03-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a21c163919cd90dd67bcd03345fac5441e53cccc' (2022-03-19)
  → 'github:oxalica/rust-overlay/007b22cd37d1e847ce5f042754f95c09f4be93a3' (2022-03-26)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-28 09:40:58 +02:00
Thomas Linford
6bdc6f6f5d
docs(changelog): single core close pane crash fix 2022-03-25 21:00:33 +01:00
raphCode
bda37c3dd3
fix(tab): catch and report errors about tty I/O (#1051)
Quick and dirty bandaid fix to some server crashes which occur to me lately.
The underlying issue seems to be a race condition somewhere when the shell in the pane
exits and the tty file descriptor becomes invalid, but zellij wants to write/read it?

Bug trigger:
- open some panes
- exit the shells in the panes by spamming Ctrl-D

works best when the system only runs on a single CPU, run the following to disable all
cores but one:
echo 0 | sudo tee /sys/devices/system/cpu/cpu*/online

Co-authored-by: raphTec <git@raphtec.net>
2022-03-25 16:30:32 +01:00
Aram Drevekenin
05e6579508
docs(changelog): tab intermediate crash fix 2022-03-25 15:42:15 +01:00
Aram Drevekenin
b5cb5474bb
fix(screen): crash in intermediate no-tabs state (#1272)
* fix(screen): log error instead of crashing in intermediate state with no active tabs

* style(fmt): rustfmt
2022-03-25 15:41:08 +01:00
Aram Drevekenin
be02f99652
docs(changelog): alt + arrows 2022-03-25 14:29:09 +01:00
Aram Drevekenin
18ee784e2d
feat(ui): add navigation with alt + arrow keys (#1264)
* feat(ui): change from non-working alt-brackets to alt-arrows

* style(fmt): rustfmt

* fix: improve parsing of `alt` combination keys

The binding of the keys can now be specified with:

- Alt: 'c'
- Alt: Up
- Alt: Down
- Alt: Left
- Alt: Right

* chore(fmt): rustfmt

Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-03-25 14:28:08 +01:00
Aram Drevekenin
854228046e
docs(changelog): stability fixes 2022-03-25 10:36:35 +01:00
Aram Drevekenin
bf4f90d694
fix(screen): handle various edge cases rather than crashing (#1269)
* fix(screen): handle various edge cases rather than crashing

* style(fmt): rustfmt

* fix(logging): add error logs when unable to find tab

* style(fmt): rustfmt
2022-03-25 10:35:45 +01:00
a-kenji
4ba3a70f9a fix(ci): disable enabling of flakes in action's 2022-03-25 00:08:20 +01:00
a-kenji
d072e045f3 fix(ci): scope for triggering the workflow 2022-03-25 00:06:28 +01:00
Aram Drevekenin
f2b7658e97
docs(changelog): floating pane embed fix 2022-03-24 18:57:12 +01:00
Aram Drevekenin
f5a3d8f301
fix(tab): floating panes embed/fullscreen and frame color (#1267)
* fix(tab): floating panes embed/fullscreen and frame color

* style(fmt): rustfmt
2022-03-24 18:53:54 +01:00
Aram Drevekenin
509f236023
fix(tab): do not crash when only floating panes are left (#1266) 2022-03-24 17:19:09 +01:00
Thomas Linford
c53b3235c8
docs(changelog): fix crash on tab open 2022-03-23 09:24:26 +01:00
Thomas Linford
c4d62f8f61
fix(crash): ensure ZELLIJ_TMP_DIR exists when starting plugins (#1256) 2022-03-23 09:20:46 +01:00
Aram Drevekenin
e7447fe88f
docs(changelog): termion ==> termwiz 2022-03-23 09:09:46 +01:00
Aram Drevekenin
7141779153
chore(deps): move from termion to termwiz for STDIN handling (#1249)
* fix(deps): switch from termion to termwiz for STDIN parsing

* style(fmt): clippy

* style(fmt): moar clippy

* style(fmt): rustfmt

* fix(tests): e2e mouse press

* style(fmt): rustfmt

* bring back polling

* fmt fmt fmt

* fix some e2e flakiness
2022-03-23 09:08:35 +01:00
Brooks Rady
d394617a3d
chore(docs): update changelog with rounded corners 2022-03-22 15:02:51 +00:00
Brooks Rady
9bfafde123
feat(ui): round frame corners (#1227)
* feat(ui): round frame corners

* Allow rounded_corners to be set without a palette

* Revert "Allow rounded_corners to be set without a palette"

This reverts commit 9271a4b545.

* fix(style): remove redundant code

* fix(style): clippy lints that somehow got missed

* feat(config): add ui config section
2022-03-22 14:58:16 +00:00
a-kenji
2d55a3e274
fix: cargo issue (#1253) 2022-03-21 21:16:16 +01:00
a-kenji
73740a4b3f add(ci): token to update-rust-toolchain
In order to trigger ci from the pr.
2022-03-21 12:14:21 +01:00