Commit Graph

1520 Commits

Author SHA1 Message Date
Aram Drevekenin
843bf58f51
fix(input): handle discontiguous STDIN input (#1119)
* log stdin reads and events

* attempt fix for incomplete mouse sequences

* read events directly from stdin

* fix flaky e2e test

* bring back bracketed paste

* rustfmt

* remove unused

Co-authored-by: Thomas Linford <linford.t@gmail.com>
2022-02-25 14:34:55 +01:00
Ken Matsui
abbf40e014
fix(docs): fix a grammatical error in CONTRIBUTING.md (#1070)
The verb `consider` is followed by a gerund form verb.
When you want to follow `consider` by to-infinitive verb, you should use it with a pronoun.
2022-02-24 11:35:23 +01:00
Ken Matsui
6e7d43d367
fix(style): simplify the conversion from bool to i32 (#1075) 2022-02-24 11:34:46 +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
Aram Drevekenin
1562672877
docs(changelog): terminal title fix 2022-02-24 11:26:21 +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
645735f571
fix(docs): replace the list with a table that is more readable rather than strikethrough (#1088) 2022-02-24 11:04:05 +01:00
Ken Matsui
21df45cf22
fix(style): replace sort_by with sort_by_key (#1089) 2022-02-24 11:03:03 +01:00
a-kenji
5c4e5d70b8 docs(changelog): add various actions to tmux-mode 2022-02-24 10:20:03 +01:00
Cason Adams
8577dfca02
add: a few extra tmux binding keys (#1098) 2022-02-24 10:19:02 +01:00
Ken Matsui
346e093414
fix(cleanup): simplify loop (#1077) 2022-02-24 08:08:23 +01:00
a-kenji
58ca188015 docs(changelog): add ^b action to tmux-mode 2022-02-24 04:59:46 +01:00
a-kenji
06184e8a32
add(conf): add action to send ^b (#1106)
add an action to send `^b` while in `tmux-mode`

fixes #1095
2022-02-24 04:58:27 +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
6e1915fdf2
docs(changelog): fix invalid client_id 2022-02-23 23:52:03 +09: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
59a9ba08e4 chore(release): v0.25.0 2022-02-22 12:35:25 +01:00
Aram Drevekenin
8162f0c6e7
docs(readme): update demo animation (#1086) 2022-02-22 12:30:49 +01:00
Aram Drevekenin
4985864592
docs(changelog): prefer last active pane when changing focus 2022-02-21 20:14:55 +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
Thomas Linford
379271f41b
docs(changelog): copy wrapped lines fix 2022-02-21 18:03:55 +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
0ac524b295
docs(changelog): tmux mode 2022-02-21 15:53:35 +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
Jae-Heon Ji
8aef32863f
docs(changelog): bump autocfg dependency 2022-02-21 19:58:06 +09:00
Marcin Puc
4946dd7508
chore: bump internal autocfg dependency to 1.1.0 (#1071) 2022-02-21 19:49:16 +09:00
Aram Drevekenin
796b0bca98
docs(sponsorship): add my Github Sponsors 2022-02-19 10:07:57 +01:00
Aram Drevekenin
690076491b
docs(changelog): floating panes 2022-02-18 21:10:56 +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
Jae-Heon Ji
4e1043cb82
docs(changelog): update the confusing tips 2022-02-08 11:07:02 +09:00
Robert Walter
341a9f4b91
Solve Issue #1010 (#1045)
* solve issue #1010 and made code easily extensible

* Make description bold to fit + added minimal documentation

* chore(assets): update plugins

* Only change hints on reneamPane Mode, old hints were fine in every other case

* fixing some wording to get more green e2e tests

* add the opt version of the plugin

Co-authored-by: jaeheonji <atx6419@gmail.com>
2022-02-08 11:01:54 +09:00
Thomas Linford
ff8616280b
docs(changelog): add copy-clipboard option 2022-02-02 15:24:12 +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
2799eb9160
docs(changelog): alternate screen scrollback fix 2022-02-02 12:58:43 +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
0737a5a215
docs(changelog): add focus attribute in layout 2022-02-01 02:20:38 +09: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
a-kenji
1163189d6b docs(changelog): warn on active empty mode 2022-01-31 16:25:30 +01:00
a-kenji
c82ee774ce
fix(config): warn on mode without actions (#1035)
Log with a warning, if the user finds himself in a mode,
that has no action associated with it.

fix #949
2022-01-31 16:24:06 +01:00
Jae-Heon Ji
a0791e3504
docs(changelog): add theme example 2022-01-28 01:16:29 +09:00
Henri
692a30f32f
Create tokyonightDark.yaml (#1015)
* Create tokyonightDark.yaml

added tokyonight dark-storm-ish that I hacked from my config and wanted to share.

* Update and rename example/tokyonightDark.yaml to example/themes/tokyonightDark-theme.yaml

create a theme folder inside the example config. Didn't want to add the 256 color because I don't think that I can recreate it with any degree of accuracy.

* found the correct colors and added the original creator repo of the theme

* feat: add example of various theme

Co-authored-by: jaeheonji <atx6419@gmail.com>
2022-01-28 01:12:58 +09:00
Thomas Linford
20c7e7789d
docs(changelog): csi erase compatibility fix 2022-01-26 18:51:41 +01:00
Thomas Linford
cf22e1f50e
fix(compatibility): handle csi erase param 3 (#1026) 2022-01-26 18:50:29 +01:00
Thomas Linford
f851cc1861
docs(changelog): scroll by page up/down fix 2022-01-26 18:21:50 +01:00