aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/integration/basic.rs (follow)
Commit message (Collapse)AuthorAge
* chore(tests): move all integration tests to be either unit or e2e tests - ↵Aram Drevekenin2021-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove old testing infra (#589) * tests(integration): move basic integration tests to be unit tests * fix(tests): silently fail threadbus for tests * tests(unit): move compatibility tests to become unit tests for grid * tests(unit): move close_pane tests to become unit tests for grid * tests(e2e): move basic layout test to e2e * tests(unit): move move_focus tests to be unit tests * tests(unit): move resize_down tests to be unit tests * tests(unit): move resize_left tests to be unit tests * tests(unit): move resize_right tests to be unit tests * tests(unit): move resize_up tests to be unit tests * tests(infra): remove unused infra * style(fmt): make rustfmt happy * debug * debug * debug * debug * chore(test): shift volume mounting around because github actions is a special child
* Merge branch 'main' of https://github.com/zellij-org/zellij into layout-errora-kenji2021-06-14
|\
| * Fixed a build warning and renamed a struct fieldBrooks J Rady2021-06-03
| |
* | Move `layout.rs` from `server` to `utils`a-kenji2021-06-14
|/ | | | * give feedback on most errors in the layout-file
* fmt and clippyKunal Mohan2021-05-16
|
* Big refactor: separate crates for client, server and utilitiesKunal Mohan2021-05-16
|
* Do not pass config_options while spawning server processKunal Mohan2021-05-15
|
* fix testingKunal Mohan2021-05-15
|
* Merge branch 'main' of https://github.com/zellij-org/zellij into ↵a-kenji2021-05-12
|\ | | | | | | fix-simplified-ui
| * fix(ui): handle pasted text properly (#494)Aram Drevekenin2021-05-12
| | | | | | | | | | * fix(ui): handle pasted text properly * style(fmt): rustfmt
* | Fix Simplified Uia-kenji2021-05-12
|/ | | | | Propagate the config now, in all the places, as opposed to fallback to a default.
* Fix after rebaseKunal Mohan2021-05-04
|
* Fix after rebaseKunal Mohan2021-05-04
|
* fix testsKunal Mohan2021-05-04
|
* Load config before start()Yutaka Kamei2021-05-02
| | | | | | | | | | | | | | | | | | | | | Previously, a config file was loaded within `start()`, and if the config file is invalid, Zellij was supposed to show a user what's wrong with it. However, since `start()` starts setting up its terminal with an alternative screen buffer, neither standard output nor standard error could display such an error. This change intends to address this issue by making Zellij load a config file before `start()`. In addition, the patch also includes some refactorings: * Redefine `from_cli_config` with `TryFrom`, which was introduced in Rust 1.34 * Remove conditional declaration `cfg(not(test))` because `start()` now receive a `Config` as the third argument * Introduce [`tempfile`](https://crates.io/crates/tempfile) in order to run tests with actual files * Typo?: "Deserialisation" -> "Deserialization"
* fix(ui): draw ui properly on terminal start (#323)Aram Drevekenin2021-04-22
| | | | | * fix(ui): draw ui properly on terminal start * style(fmt): rustfmt
* cargo fmtHongjie Zhai2021-04-21
|
* add testsHongjie Zhai2021-04-21
|
* feat(input): new shortcuts and ui (#220)Aram Drevekenin2021-03-11
| | | | | | | * feat(statusbar): new shortcuts * feat(input): new shortcuts and ui * style(fmt): rustfmt
* fix(compatibility): get top not to break everything when exiting (#188)Aram Drevekenin2021-02-17
|
* feat(input): new keybindings and persistent mode as default (#181)categorille2021-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added some comments in the input module * InputHandler now has InputState instead of separate InputMode and permanent bool * keybinds are now associated with a Vec<Action> instead of a single Action * removing "persistent" modes alltogether to reimplement the feature, help bar broken * locked command mode by default, fixes #161, help bar still broken * status bar fixed, still a few improvements/bugs to go * better shortcut help bar contents * fixed last bits and i think we are good * modified tests according to new controls, not working * Revert "modified tests according to new controls, not working" This reverts commit f2d9421ff0169feb83dbd9b246e59b9244cafc16. * basic.rs tests now pass, not the rest * close_pane.rs tests pass, but very slowly? * compatibility.rs tests pass, very slowly as well * {layout, {move_focus_*}}.rs all working mildly slowly * {resize_*}.rs should all work but very slowly and funky, see PR comments * {tabs,toggle_fullscreen}.rs pass. Test performance issue yet to be fixed * tests now work, with a hack :| ready for merge * rustfmt + deleted references to InputState and mode persistency
* feat(ui): new keybindings and status bar (#160)Aram Drevekenin2021-02-09
| | | | | | | | | | | * work * feat(statusbar): new design and keybindings * fix(ipc): add missing const * style(fmt): rustfmt * style(input): remove accidental comment
* refactor(input): hotkeys (#132)Kyle Sutherland-Cash2021-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial definitions and thoughts for hotkeys * Actually document InputKey properly * Add a to string function for input keys * Define keybinds and actions; restructure * Implement hash and start on defining key bindings * Derive Serialize for input keys * Store the key strings as tuples for two-way mapping * Some string to key functions * Use termion's Key definition and implement action dispatch * Fix some borrow-checker errors * Missing keybind and command mode switching * Fix incorrect handling of spawn terminal command * fix(plugins): work with new input - tests not passing * fix(infra): stabilize tests and properly close pty sessions * style(fmt): rustfmt Co-authored-by: Brooks J Rady <b.j.rady@gmail.com> Co-authored-by: Aram Drevekenin <aram@poor.dev>
* Min max height and width (#155)Aram Drevekenin2021-01-28
| | | | | * feat(tab): min/max pane height * style(fmt): rustfmt
* Merge in changes from main and fix a clippy lintBrooks J Rady2021-01-07
|\
| * feat(completions): Add shell completions files (#128)Henil Dedania2021-01-07
| | | | | | | | | | | | | | * Add shell completions and output files to `assets/completions` * Rename files and struct name * Update tests to take into account new changes
* | A module rename to please clippyBrooks J Rady2021-01-06
|/
* fix(input): read stdin with lock (#72)Aram Drevekenin2020-11-29
| | | | | | | * fix(input): lock stdin when reading and use its own buffer * style(format): make rustfmt happy * fix(ipc): add accidentally removed trait
* feat(ux): add a command mode (#42)Kyle Sutherland-Cash2020-11-21
| | | | | | | | | | | | | | | | | | | | | * 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>
* refactor(data-structures): #51 change winsize to positionandsize (#56)Denis Maximov2020-11-19
|
* feat: add rustfmt, update action workflow to check for formatting (#45)Denis Maximov2020-11-14
|
* fix(compatibility): do not interpret esc as scroll-up (#29)Aram Drevekenin2020-11-08
|
* fix(scroll): support show/hide cursor and fix vim scrolling behaviour (#27)Aram Drevekenin2020-11-06
|
* feat(screen): allow to toggle pane fullscreen with ctrl-f (#24)Aram Drevekenin2020-11-05
|
* hotfix(controls): do not capture the ENTER keyAram Drevekenin2020-11-03
|
* feat(screen): allow specifying max panes on screen (#20)Aram Drevekenin2020-11-03
|
* feat(screen): split largest terminal (#19)Aram Drevekenin2020-11-02
| | | | | * feat(screen): split largest terminal * docs(readme): split largest terminal command
* feat(scrolling): basic 1-line scroll-up and scroll-down inside a paneAram Drevekenin2020-10-15
|
* test(compatibility): bandwhich + various fish thingsAram Drevekenin2020-09-29
|
* tests(integration): resize left + up + downAram Drevekenin2020-09-15
|
* tests(restructure): integration folderAram Drevekenin2020-09-15