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
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
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
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
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
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
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
c4d62f8f61
fix(crash): ensure ZELLIJ_TMP_DIR exists when starting plugins ( #1256 )
2022-03-23 09:20:46 +01: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 9271a4b5452f2e59e0ebd55136343f0fbfabaa13.
* 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
Aram Drevekenin
ab74b9974a
refactor(tab): move tiled panes to their own module ( #1239 )
...
* work
* tests passing
* simplify render state
* move more stuff to state
* moved tiled panes outside
* move files around
* style(fmt): rustfmt
2022-03-18 10:32:43 +01:00
a-kenji
092926c5d8
fix(wasm_vm): use cache_dirs for ephemeral plugin data ( #1230 )
...
fix(wasm_vm): use `cache_dirs` for ephemeral plugin data
Use proper `cache_directories` by default, that users can be expected
to have proper write permissions for.
The directory is used for plugin hashes, and compilation data.
2022-03-17 11:57:38 +01:00
a-kenji
b0276dfd74
fix(feat): disable_automatic_asset_installation ( #1226 )
...
* fix(feat): `disable_automatic_asset_installation`
This fixes a regression in the feature system:
The asset installation didn't get turned off by the feature.
Add error logging to the install functions.
Properly show features in setup
disable `mkdir` in `wasm_vm` on `feature-disable-asset-installation`
Alternative:
Is this even needed? We make sure the directory is there upon the
normal asset installation.
fixes #1130
2022-03-17 11:40:09 +01:00
Aram Drevekenin
2e03692f5b
chore(version): bump development version
2022-03-16 14:25:08 +01:00
Aram Drevekenin
9c7d13984f
chore(release): v0.26.1
2022-03-16 14:03:07 +01:00
Aram Drevekenin
779679f53b
chore(version): bump development version
2022-03-11 16:13:01 +01:00
Thomas Linford
9961a28cb5
feature(mouse): forward mouse events ( #1191 )
...
* handle sgr mouse mode enable by applications
* forward mouse events
* fix scroll events not forwarded to floating panes
* improve mouse hold/release with floating panes
2022-03-10 13:14:02 +01:00
Thomas Linford
7e008bb039
fix(compatibility): home and end in cursor keys mode ( #1190 )
2022-03-09 21:21:15 +01:00
Aram Drevekenin
95e512c36d
fix(compatibility): replace wide characters under cursor properly ( #1196 )
...
* fix(compatibility): replace wide characters under cursor properly
* style(fmt): rustfmt
2022-03-09 11:04:07 +01:00
Thomas Linford
7de77536ab
refactor(tab): simplify mouse hold and release ( #1185 )
2022-03-08 18:26:33 +01:00
Thomas Linford
8d3bd3c9b0
fix(floating-panes): update tooltip after hiding floating panes with mouse ( #1186 )
2022-03-07 11:45:01 +01:00
Jae-Heon Ji
5a56aa0603
Improve: more explicit detach instruction ( #1161 )
...
* feat: update detach and remove client
* chore: apply clippy warning
* fix(tests): update snapshot
2022-03-07 19:20:13 +09:00
Thomas Linford
c5eea7bd91
refactor(tab): simplify logic for scrolling active pane ( #1184 )
2022-03-06 19:50:33 +01:00
Kerfuffle
e2081f2649
fix: Allow terminal title passthrough even when not drawing pane frames. ( #1113 )
...
* fix: Allow terminal title passthrough even when not drawing pane frames.
* Minor formatting fix.
* Handle case where the session name is not set.
2022-02-28 17:54:41 +01:00
Thomas Linford
efd2fa412f
fix(compatibilty): do not use current cursor style in csi erase display ( #1142 )
2022-02-27 21:15:03 +01:00
Orhun Parmaksız
4d64742fd0
refactor: fix unused code warnings ( #1087 )
2022-02-27 13:23:59 +01:00
Aram Drevekenin
3bbae77921
fix(compatibility): properly clear pane before switching to alternate screen ( #1120 )
2022-02-25 15:01:08 +01:00
Ken Matsui
31def4102f
fix(style0: simplify find(..).is_some() to any(..) and use += instead ( #1081 )
2022-02-24 11:29:56 +01:00
tfgast
cef3f1e408
fix(terminal): ensure Title doesn't overrun ( #1094 )
...
The set title escape code needs to be terminated with a bell character. See https://tldp.org/HOWTO/Xterm-Title-3.html
2022-02-24 11:22:24 +01:00
Ken Matsui
3346238a6b
fix(style): remove unnecessary borrow operators ( #1084 )
2022-02-24 11:08:05 +01:00
Ken Matsui
e73ce08ddf
fix(style): remove redundant .clone() calls ( #1085 )
2022-02-24 11:07:09 +01:00
Ken Matsui
21df45cf22
fix(style): replace sort_by with sort_by_key ( #1089 )
2022-02-24 11:03:03 +01:00
Ken Matsui
346e093414
fix(cleanup): simplify loop ( #1077 )
2022-02-24 08:08:23 +01:00
Ken Matsui
f1f5ac01af
fix(lint): simplify unnecessary return statements ( #1080 )
2022-02-23 20:37:01 +01:00
Ken Matsui
28c2046890
fix(lint): replace unnecessary assert_eq! with assert! ( #1079 )
2022-02-23 20:35:52 +01:00
Jae-Heon Ji
a489194b55
fix: invalid assignment of client_id ( #1052 )
...
* feat: sync socket connection in
* chore: apply clippy
* chore: change message name
2022-02-23 23:50:49 +09:00
Aram Drevekenin
39eddd8b1c
chore(version): bump development version
2022-02-22 13:36:39 +01:00
Aram Drevekenin
256671aecc
fix(ui): restore get active at ( #1076 )
...
* don't crash if misusing the plugin pane api
* restore get active at
* rustfmt
2022-02-21 20:13:32 +01:00
Aram Drevekenin
9fa94970cc
fix(ui): floating panes UI ( #1074 )
...
* basic ui
* update plugins
* rustfmt
2022-02-21 18:01:35 +01:00
Thomas Linford
a3e69fe6da
fix(copy): rejoin wrapped lines ( #1069 )
...
When copying wrapped lines do not treat them as separate lines.
2022-02-21 17:58:54 +01:00
Aram Drevekenin
a0a0a7e5c4
feat(ux): tmux mode ( #1073 )
...
* work
* basic tmux move and functionality
* tmux mode ui
* rustfmt
2022-02-21 15:52:42 +01:00
Aram Drevekenin
821e7cbc5a
feat(ui): add floating panes ( #1066 )
...
* basic functionality
* close and reopen scratch terminal working
* embed/float and resize whole tab for floating and static floating panes
* move focus working
* fix focus change in floating panes
* move pane with mouse
* floating z indices
* tests and better resize algorithm
* starting to work on performance
* some performance experimentations
* new render engine
* reverse painters algorithm for floating panes
* fix frame buffering
* improve ux situation
* handle multiple new panes on screen without overlap
* adjust keybindings
* adjust key hints
* fix multiuser frame ui
* fix various floating/multiuser bugs
* remove stuff
* wide characters under floating panes
* fix wide character frame override
* fix non-frame boundaries interactions with floating panes
* fix selection character width
* fix title frame wide char overflow
* fix existing tests
* add tests
* refactor output out of tab
* refactor floating panes out of tab
* refactor tab
* moar refactoring
* refactorings and bring back terminal window title setting
* add frame vte output
* remove more unused stuff
* remove even more unused stuff
* you know the drill
* refactor floating panes and remove more stuffs
* refactor pane grids
* remove unused output caching
* refactor output
* remove unused stuff
* rustfmt
* some formatting
* rustfmt
* reduce clippy to normal
* remove comment
* remove unused
* fix closign pane
* fix tests
2022-02-18 21:10:06 +01:00
Thomas Linford
10a22c479f
fix(compatibility): resolve fzf crash ( #1056 )
...
* grid: add fzf test case
* revert alternate viewport creation to contain an empty row
2022-02-12 12:51:10 +01:00
Thomas Linford
18709acde9
feat(copy): allow osc52 copy destination configuration ( #1022 )
...
add copy_cliboard option to allow configuring copy destination to primary selection instead of default clipboard
2022-02-02 15:22:34 +01:00
Thomas Linford
143bbfb0bb
fix(compatibility): do not set scroll buffer in alternate screen ( #1032 )
...
avoid moving lines to lines_above when in alternate screen.
adjust resizing when in alternate screen:
* remove extra lines instead of sending to lines_above
* truncate excess characters
2022-02-02 12:56:21 +01:00
Jae-Heon Ji
1d2e303926
feat: add focus attribute in layout ( #958 )
...
* feat(layout): add focus attribute in layout
* feat: add state of focus to tab
* chore: i love clippy
* test(layout): update focus options
* feat: add focus pane
* feat: apply focus-pane when layout is only loaded
* change the instruction name for focus-on-tab
* chore: apply cargo-fmt
* test: add e2e testcase
2022-02-01 02:19:21 +09:00
Thomas Linford
cf22e1f50e
fix(compatibility): handle csi erase param 3 ( #1026 )
2022-01-26 18:50:29 +01:00
Thomas Linford
a576b3150f
fix(scroll): scroll page up/down by actual amount of rows ( #1025 )
...
use pane content_rows to take account of frame enabled/disabled
2022-01-26 18:19:38 +01:00
Jae-Heon Ji
8d224cb84a
feat: accept only printable unicode char ( #1016 )
...
* feat: accept only printable unicode char
* chore: revert comments
2022-01-25 22:11:31 +09:00