Commit Graph

1400 Commits

Author SHA1 Message Date
Kunal Mohan
c0afb23e06 docs(changelog): Allow naming panes 2021-12-09 23:33:11 +05:30
Kunal Mohan
c75bcbd937
Feature: Add pane names (#928)
* Read pane name from layout

* Update pane name at runtime

* Fix tests

* prefer and render pane name over pane title

* fix clippy errors

* fix after rebase
2021-12-09 23:30:40 +05:30
a-kenji
368c852e57 docs(changelog): distinct tips in status-bar 2021-12-09 18:57:26 +01:00
a-kenji
25e7ed80de docs(changelog): update default layouts 2021-12-09 18:55:50 +01:00
Jae-Heon Ji
d79060f69a
feat(status-bar): add multiple tips (#848)
* feat(status-bar): add draft for multiple tips

* feat: add TIPS_MAP

* Simplified 'tip' function.

* chore: update file structure

* feat(status-bar): update method of Tip rendering

* feat(status-bar): change type of tip in State

* refactor(status-bar): related to random tip selection

* feat(status-bar): add simple local cache for testing

* feat(status-bar): add cache system for tip data

* Add mpadir to wasm for plugin to access zellij temp folder.

* refactor(status-bar): update cache and utils

* fix(status-bar): update file read error

* refactor(status-bar): update macros

* chore(status-bar): delete test data

* chore(status-bar): update missing fixes

* feat(status-bar): add detailed error

* style: make clippy
2021-12-09 18:53:46 +01:00
Jae-Heon Ji
2096cafe1d
chore: update example layout (#926) 2021-12-09 18:38:18 +01:00
Aram Drevekenin
90f463138b
docs(changelog): multiple users in plugins 2021-12-08 18:42:40 +01:00
Aram Drevekenin
92bddf1b79
fix(plugins): support multiple users (#930)
* fix(plugins): support multiple clients

* fix(style): make clippy happy
2021-12-08 18:41:41 +01:00
Marcin Puc
56e85f87d6
fix(style): various internal refactorings 2021-12-07 10:24:42 +00:00
Thomas Linford
d34e624010
docs(changelog): fix resize performance 2021-12-05 11:29:37 +01:00
Thomas Linford
e47e3d361f
fix(perf): throttle resizes on sigwinch (#895)
Reduce renders while resizing window to reduce performance problem with a large scrollback buffer due to lines recalculation.
2021-12-05 11:26:32 +01:00
a-kenji
0a84d39a58 docs(changelog): fix unbind key 2021-12-04 16:08:36 +01:00
a-kenji
050fa8fd07
fix(config): unbind keys correctly (#925)
* turn off the merging of key bindings of layout and configuration
  files for now.

  In certain situations the keybindings would be overwritten.

  Fix #923
2021-12-04 16:06:20 +01:00
a-kenji
b727d105f3
fix(warn): remove unnecessary mut (#922) 2021-12-03 18:09:29 +01:00
a-kenji
db3d8a71a8 docs(changelog): update example config options 2021-12-03 11:19:01 +01:00
a-kenji
b78a6d4258
fix(assets): update config option examples (#920)
* update config option examples:
  ```
  no_pane_frames -> pane_frames
  no_mouse_mode -> mouse_mode
  ```

closes #916
2021-12-03 11:13:56 +01:00
Aram Drevekenin
60cbf7bde0
docs(changelog): windows paste fix 2021-12-02 18:36:47 +01:00
Aram Drevekenin
cbe0d5405e
fix(compatibility): do not duplicate bracketed paste in chunked stdin input (#917)
* debug message

* fix attempt

* oops

* remove log message

* rustfmt

* style(clippy): make clippy happy

* style(clippy): make clippy happy again!
2021-12-02 18:35:55 +01:00
Aram Drevekenin
180aa786a5
docs(changelog): fix flaky scrolling issue 2021-12-01 13:02:13 +01:00
Aram Drevekenin
464cb6beec
fix(compatibility): full screen scroll region (#915)
* fix(compatibility): properly handle scrolling when scroll region is full screen

* style(fmt): make clippy and rustfmt happy
2021-12-01 13:01:22 +01:00
Jae-Heon Ji
4e5717ec6e
fix(plugin): mismatch JSON format on get_zellij_version
* chore(wasm): comment on target of error

* fix(wasm): formatting the VERSION string

* refactor(wasm): simplify code

* chore: delete comments resolved

* feat(wasm): update write_object fn for generic
2021-11-30 20:01:03 +00:00
Kunal Mohan
c3f838a906 docs(changelog): prevent session from attaching to itself 2021-11-30 17:34:39 +05:30
Kunal Mohan
0ed8f06b9f
Prevent a zellij session from attaching to itself. (#911)
* fix #905
Prevent a zellij session from attaching to itself.

* Add check while attaching using index as well
2021-11-30 17:31:05 +05:30
a-kenji
5180d8016f docs(changelog): formatting 2021-11-30 11:34:01 +01:00
a-kenji
77ef8aaa8c docs(changelog): add gray to themes section 2021-11-30 11:04:23 +01:00
a-kenji
adee5e78a9
fix(theme): add gray to theme (#914)
fix #912

* Add `gray` to theme
2021-11-30 11:03:20 +01:00
a-kenji
798a57e535 docs(changelog): fix missing theme on config merge 2021-11-30 09:48:51 +01:00
Tw
d7e460a3d6
Fix: missing theme in config (#913)
Signed-off-by: Tw <wei.tan@intel.com>
2021-11-30 09:46:48 +01:00
Joseph Post
485b9e4f98
fix: Update CONTRIBUTING.md (#909)
added a newline to fix URLs
2021-11-30 08:01:24 +01:00
Aram Drevekenin
1ee743156c chore(version): bump development version 2021-11-29 10:09:22 +01:00
Aram Drevekenin
eec8dbf7ec chore(release): v0.21.0 2021-11-29 09:35:48 +01:00
Aram Drevekenin
7722a21248 chore(build): update plugins 2021-11-29 09:16:12 +01:00
Brooks J Rady
7cb165f0c2 fix(style): remove unused imports 2021-11-27 15:35:37 +00:00
a-kenji
1725075cbb docs(changelog): add zellij version to plugin api 2021-11-26 10:46:14 +01:00
Jae-Heon Ji
c349586d84
feat: provide the zellij version to plugins (#894)
* feat: add draft of feature

* feat(wasm): add plugin API for getting of zellij version

* feat(wasm): update feedback

* delete unnecessary function
2021-11-26 10:44:43 +01:00
a-kenji
cbae0213db
update(readme): update matrix link to new room (#903) 2021-11-26 10:15:10 +01:00
a-kenji
7154fd0de7
add: badge for matrix chat (#902) 2021-11-25 21:19:31 +01:00
dependabot[bot]
1cd21bf899
chore(deps): bump actions/upload-release-asset from 1.0.1 to 1.0.2 (#901)
Bumps [actions/upload-release-asset](https://github.com/actions/upload-release-asset) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/upload-release-asset/releases)
- [Commits](https://github.com/actions/upload-release-asset/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: actions/upload-release-asset
  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>
2021-11-25 18:40:15 +01:00
a-kenji
d3505ba52b
feat(update): integrate dependabot for gh actions (#900)
* dependabot will check weekly, if the gh actions have new versions
  available and will open a pr, if necessary
2021-11-25 17:44:18 +01:00
Aram Drevekenin
10ced5a3cd
docs(changelog): multi user ui for panes 2021-11-25 16:23:54 +01:00
Aram Drevekenin
6c6a4393f4
This adds a UI for multiple users in panes (behind a feature flag) (#897)
* feat(ui): multiple users in panes

* style(fmt): make rustfmt happy

* style(fmt): make clippy happy
2021-11-25 16:21:59 +01:00
a-kenji
9fb2c7ca16 add: leave ephemeral modes by pressing esc 2021-11-23 12:45:02 +01:00
a-kenji
cd55c86260
Feat: add esc to exit modes (#889)
* Add ability to return to normal mode from any mode,
  except for the locked mode, by pressing the escape key
  to the default keybindings

  fix #887
2021-11-23 12:42:15 +01:00
Thomas Linford
d05878315f
docs(changelog): osc8 support 2021-11-22 18:57:01 +01:00
Thomas Linford
a96b9d8769
feat(compatibility): add support for osc 8 escape code (#822)
Resolve #645 

* add support for osc 8 escape code

* refactor, add links to CharacterStyles

* cleanup

* refactor, add minimal tests
2021-11-22 18:54:49 +01:00
Thomas Linford
d8959ca6e1
docs(changelog): large scrollback performance fix 2021-11-22 18:38:47 +01:00
Thomas Linford
707fedd1df
fix(performance): keep track of scrollback buffer size (#881)
Fix #877. Avoid calculating scrollback buffer size on each render, since the calculation becomes slower proportionally to the amount of lines buffered, and to the width of each line.
* wip: keep track of scrollback buffer size

* account for lines dropped by bounded_push

* fix: use saturating sub

* fix: account for 0 width lines

* remove log messages
2021-11-22 18:34:45 +01:00
a-kenji
639566df15
docs(readme): update new command syntax (#876) 2021-11-17 10:42:44 +01:00
a-kenji
198950e0b9
add(overlay): add overlay (#875)
* add overlay instructions to the `render` function

  this is a continuation of #871
2021-11-17 00:12:34 +01:00
a-kenji
4eee6cae00 docs(changelog): init first overlay changes 2021-11-15 20:14:03 +01:00