Commit graph

22 commits

Author SHA1 Message Date
Doron Tsur
f196726dab
fix(infra): make panes BTreeMap value Pane trait in preparation for the status bar (#124) 2020-12-30 09:54:31 +01:00
Aram Drevekenin
f1f821c7bd
fix(compatibility): fix neovim change mode (#108) 2020-12-17 15:42:49 +01:00
Aram Drevekenin
97d2c8339e
fix(compatibility): fix neovim scrolling (#107)
* fix(compatibility): fix neovim scrolling

* style(formatting): make rustfmt happy
2020-12-17 13:00:44 +01:00
Aram Drevekenin
38d8e2238d
fix(compatibility): handle tab characters properly (#99)
* fix(compatibility): handle tab characters properly

* style(formatting): make rustfmt happy
2020-12-15 12:58:58 +01:00
Aram Drevekenin
ac9c0274f4
fix(compatibility): fix vim overwrite message and buffer clearing on exit (#98)
* fix(compatibility): fix vim overwrite message and buffer clearing on exit

* style(formatting): make rustfmt happy
2020-12-14 16:25:46 +01:00
Aram Drevekenin
94d6f3dbf6
refactor(ansi-codes): treat ansi codes properly and also make things clearer (#85) 2020-12-08 16:42:26 +01:00
Aram Drevekenin
1c1558df64
fix(compatibility): do not offset first scroll region line (#82) 2020-12-04 15:19:00 +01:00
Aram Drevekenin
a56cb3c9ad
fix(compatibility): htop horizontal scrolling (#81)
* fix(compatibility): htop horizontal scrolling

* style(format): make rustfmt happy
2020-12-04 10:02:51 +01:00
Denis Maximov
b7b3ff74cf
feat(rect): directional move focus #55 (#78)
* feat: directional move focus #55

* wip: refactored match into if let

* wip: basic tests

* feat: move to most overlapping pane tests

* fix: formatting

* wip: Moved the definitions to the Rect trait

* formatting
2020-12-04 09:59:06 +01:00
Aram Drevekenin
5ba9320b2b
fix(compatibility): keypad arrow fixes (#80)
* fix(compatibility): make arrow keys work in htop and vim

* docs(terminal): add explanatory comments to character string

* style(format): make rustfmt happy
2020-12-03 15:58:30 +01:00
Aram Drevekenin
c47fed927e
fic(compatibility): htop scrolling issues (#77)
* fix(compatibility): scrolling inside scroll region with 'M' esc dispatch

* style(format): make rustfmt happy

* fix(tests): send proper data

* fix(logs): do not crash if log file doesn't exist
2020-11-30 09:40:24 +01:00
Roee Shapira
9ad7b8a35e
chore(infra): added clippy check. (#65)
* Added clippy check.

* Changed step name.

* Used the suggested ci config.

* Some more clippy fixes.

* Some more clippy fixes.

* More clippy fixes.

* Removed allow annotations.

* Minor lint edit.

* More clippy fixes.

* Ran cargo fmt.

* More clippy fixes.

* More clippy fixes.

* More clippy fixes.

* More clippy fixes.

* More clippy fixes.

* More clippy fixes.

* Code review edits.

* Code review edits.

* Code review edits.

* CI update.

* CI update.

* CI update.

* Added clippy warn so wip won't fail ci.

* Cargo fmt.
2020-11-28 20:02:05 +01:00
Aram Drevekenin
f88abe6ad8
fix(compatibility): various htop issues (#66)
* fix(compatibility): various htop issues

* style(format): make rustfmt happy

* fix(logging): do not delete log dir on startup

* fix(tests): update htop with command toggle

* chore(ci): reduce test concurrency to 1
2020-11-23 18:01:16 +01:00
Denis Maximov
cf43736656
refactor(data-structures): #51 change winsize to positionandsize (#56) 2020-11-19 15:30:05 +01:00
Roee Shapira
5ddf95a16c
fix(compatibility): some fixes for htop (#53)
* Moved all log to file functions to one module.

* Moved logging to file function to utils module.

* Housekeeping.

* Housekeeping.

* Started investigation into htop CSIs.

* Used better function for scrolling.

* Minor cleanup.

* Cleanup and start of scroll region rotation.

* Implemented scroll region rotation.

* Improved performace.

* New SCI found.

* Typo.

* Typo.

* Removed logging function.

* Added scroll rotation functions.

* Typo.

* Moved all logging function to one module.

* Attempt at making htop work.

* Reverted unneeded changes.

* Improved log file name creation.

* Ran rust fmt.

* PR review edits.

* PR review edits.

* Used mark_for_rerender function.

* Removed _ prefix from logging functions.
2020-11-19 11:15:59 +01:00
Aram Drevekenin
47954166a2
feat(ux): initial layout engine (#50)
* prototype

* refactor(layout): move stuff around

* style(format): make rustfmt happy
2020-11-15 19:55:56 +01:00
Denis Maximov
a2914066bf
feat: add rustfmt, update action workflow to check for formatting (#45) 2020-11-14 18:59:37 +01:00
Aram Drevekenin
dc0432bb64
fix(compatibility): various issues involving starship (#37) 2020-11-10 17:05:10 +01:00
Aram Drevekenin
f02136ec0d
fix(compatibility): do not break starship multiline prompt (#30) 2020-11-09 12:18:58 +01:00
Aram Drevekenin
13af16b336
fix(scroll): support show/hide cursor and fix vim scrolling behaviour (#27) 2020-11-06 18:12:03 +01:00
Aram Drevekenin
bdcd3b74ff
feat(screen): allow to toggle pane fullscreen with ctrl-f (#24) 2020-11-05 10:26:33 +01:00
Aram Drevekenin
ba2fd9f782 refactor(structure): separate all the things 2020-11-01 11:42:18 +01:00