Commit graph

90 commits

Author SHA1 Message Date
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
Roee Shapira
fd1f1ce697
fix(layout): total layout percent 100 validation (#57)
* Fix for issue #52

* Added missing fixtures.

* Added missing validation.

* Moved layout creation and validation to the Layout struct.

* Ran cargo fmt.

* Added creation of tmp folder if needed.

* Code review edit.

* Code review edit.

* Fancied code up.

* PR request change.

* PR code review.

* Merge from upstream/main.

* Merge from upstream/main.
2020-11-21 19:39:57 +01:00
Henil
6a9ecc42a8
refactor(structure): Change structure of /tmp directory (#62)
Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-11-21 17:32:46 +01:00
Kyle Sutherland-Cash
11e72b3d6b
feat(ux): add a command mode (#42)
* Move the input loop into a separate module

* Proof of concept implementation of command mode

* Update readme to reflect command mode

* Have Esc exit command mode

* Update tests to use command mode and make it transient by default

* Some merge fixes

* fix(tests): add missing COMMAND_TOGGLE and fix false positive test

* style(format): make rustfmt happy

* Update readme to describe command mode

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-11-21 15:55:49 +01:00
Aram Drevekenin
429e415ecc
fix(atomicity): block commands before executing others (#59) 2020-11-19 18:24:34 +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
Denis Maximov
6f168c5ef2
fix(ux): disable move focus when in full screen (#49)
* feat: add rustfmt, update action workflow to check for formatting

* wip: Mosaic reacts to "move focus" commands when one pane is maximized

* feat: move focus is blocked when pane is in full screen

* fix: formatting

Co-authored-by: denis <denis@airheadventures.com>
2020-11-17 12:53:37 +01:00
Henil
0ddcc4087e
fix(ux): add variable to track if the pane is in fullscreen mode or not (#47)
* Fix the bug and add new tests

* add snapshots for integration tests
2020-11-16 17:45:15 +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
b66dffe5cf HOTFIX: do not get os input unless we're starting the app 2020-11-14 13:55:13 +01:00
Aram Drevekenin
8e6dfded7a
fix(ux): properly echo characters and do not mess up exit (#44) 2020-11-14 13:27:42 +01:00
Denis Maximov
20617c0263
feat(development): add --debug flag (#41)
* wip: #39 create a -d --debug flag

* fix: switch join with concat
2020-11-13 16:44:24 +01:00
Aram Drevekenin
5a88b1a6ee
fix(ui): exit app when last pane is closed (#40) 2020-11-11 11:56:48 +01:00
Aram Drevekenin
dc0432bb64
fix(compatibility): various issues involving starship (#37) 2020-11-10 17:05:10 +01:00
Aram Drevekenin
b876843adf
fix(colors): send full style reset in diff (#32) 2020-11-09 18:53:22 +01:00
Aram Drevekenin
f02136ec0d
fix(compatibility): do not break starship multiline prompt (#30) 2020-11-09 12:18:58 +01:00
Aram Drevekenin
ee0167f3af
fix(compatibility): do not interpret esc as scroll-up (#29) 2020-11-08 21:22:46 +01:00
Aram Drevekenin
393bca0d39
fix(compatibility): better stdin reading to fix various issues (#28) 2020-11-07 19:20:13 +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
a4cd34177f hotfix(controls): do not capture the ENTER key 2020-11-03 22:43:35 +01:00
Aram Drevekenin
5592a83d4a
feat(screen): allow specifying max panes on screen (#20) 2020-11-03 15:50:18 +01:00
Aram Drevekenin
9f6bbc55b5
feat(screen): split largest terminal (#19)
* feat(screen): split largest terminal

* docs(readme): split largest terminal command
2020-11-02 16:34:20 +01:00
Aram Drevekenin
ba2fd9f782 refactor(structure): separate all the things 2020-11-01 11:42:18 +01:00
Aram Drevekenin
bb80cdd0fb refactor(terminal-pane): simplify pending styles 2020-11-01 10:40:16 +01:00
Aram Drevekenin
ffb8979125 fix(scrolling): move clear scroll to scroll so that it works 2020-11-01 09:57:34 +01:00
Aram Drevekenin
fbeb7f09dc merge 2020-10-31 20:37:42 +01:00
Aram Drevekenin
1fd4c5d367 refactor(terminal-pane): simplify data structures 2020-10-31 20:35:16 +01:00
Doron Tsur
3e11512f32 some more ignores 2020-10-28 09:37:19 +02:00
Doron Tsur
8df2ae0dfd ignore q csi 2020-10-27 22:55:05 +02:00
Aram Drevekenin
5ea67501ba feat(screen): close pane 2020-10-23 15:36:41 +02:00
Aram Drevekenin
3ea03edfdd feat(ipc): send external ipc messages to active session through cli 2020-10-21 09:24:31 +02:00
Aram Drevekenin
bd5824ce3f feat(ipc): listen to external ipc messages including a basic api 2020-10-20 19:17:57 +02:00
Aram Drevekenin
e50e9770fd feat(performance): better tty read buffering and less allocations when rendering 2020-10-19 11:55:22 +02:00
Aram Drevekenin
049ff1a6dc feat(performance): some more improvements by reducing even more allocations 2020-10-17 20:45:20 +02:00
Aram Drevekenin
592eff8c74 feat(performance): some improvements by reducing string allocations 2020-10-17 14:35:26 +02:00
Aram Drevekenin
6a68f4c710 feat(scrolling): basic 1-line scroll-up and scroll-down inside a pane 2020-10-15 17:58:07 +02:00
Aram Drevekenin
dfcd3dda58 fix(vim): properly delete last line 2020-10-14 19:04:26 +02:00
Aram Drevekenin
cd5ddd1d29 fix(scrolling): do not wrap lines inside scroll region 2020-10-14 14:50:33 +02:00
Aram Drevekenin
1e3fd9cc92 fix(colors): properly reset various ansi sequences 2020-10-14 14:10:21 +02:00
Aram Drevekenin
82e7f3db44 refactor(boundaries): dynamic => static dispatch 2020-10-13 18:44:01 +02:00
Aram Drevekenin
c652a09ae7 fix(boundaries): render properly 2020-10-13 18:14:53 +02:00
Aram Drevekenin
8f0dc0bdc3 fix(compatibility): vim works inside pane 2020-10-12 13:32:56 +02:00
Aram Drevekenin
5cd365a73c feat(compatibility): vim working! 2020-10-05 16:46:40 +02:00
Aram Drevekenin
1844816f47 refactor(terminal): minor cleanups 2020-10-02 20:02:34 +02:00
Aram Drevekenin
909b9eec0e fix(compatibility): bandwhich + various fixes for fish 2020-09-29 11:43:22 +02:00
Aram Drevekenin
cf1080bc3f test(compatibility): bandwhich + various fish things 2020-09-29 11:40:47 +02:00
Aram Drevekenin
71d527069a fix(compatibility): properly delete characters in backspace 2020-09-24 11:39:03 +02:00