zellij/zellij-server/src
a-kenji bd8c834d7c
fix(options): handling and overwriting cli opts (#859)
* fix(options): handling ond verwriting cli opts

* previously it was only possible to turn off certain features with a
  command line option, now it is possible to also overwrite this
  behavior in a sane way, for that some breaking changes happened:

  following options got renamed and inverted:
  ```
  disable_mouse_mode -> mouse_mode
  no_pane_frames -> pane_frames
  ```

  following cli options got added:
  ```
  mouse-mode [bool]
  pane-frames [bool]
  simplified-ui [bool]
  ```

  the following cli flag got removed:
  ```
  simplified-ui
  ```

  They can be specified in the following way:
  ```
  zellij options --mouse-mode true
  ```
  in order to enable the mouse mode, even if it is turned off in the
  config file:
  ```
  mouse_mode: false
  ```

  The order is now as follows:
  1. corresponding flag (`disable-mouse-mode`)
  2. corresponding option (`mouse-mode`)
  3. corresponding config option (`mouse_mode`)

* add: options and flags for the same value conflict

* example:
  ```
  zellij options --mouse-mode true --disable-mouse-mode`
  ```
  ```
  $ error: The argument '--mouse-mode <mouse-mode>' cannot be used with '--disable-mouse-mode'
  ```
2021-11-11 17:13:34 +01:00
..
panes feat(ui): add right-click support to plugins 2021-11-02 18:49:10 +00:00
ui fix(frames): don't pad empty pane title (#724) 2021-09-15 10:48:16 +02:00
unit feature(resize): Non directional resize (#520) 2021-11-05 09:29:45 +01:00
lib.rs add(feature): toggle boolean options with cli flag (#855) 2021-11-10 13:31:37 +01:00
logging_pipe.rs style(clippy): various fixes (#704) 2021-09-09 10:24:03 +02:00
os_input_output.rs chore(warnings): remove unused imports (#833) 2021-11-03 14:31:06 +01:00
pty.rs chore(release): v0.20.1 2021-11-10 17:54:39 +01:00
route.rs feat(scrolling): half-page scroll actions (#813) 2021-11-08 15:05:47 +01:00
screen.rs fix(options): handling and overwriting cli opts (#859) 2021-11-11 17:13:34 +01:00
tab.rs feat(scrolling): half-page scroll actions (#813) 2021-11-08 15:05:47 +01:00
thread_bus.rs chore(tests): move all integration tests to be either unit or e2e tests - remove old testing infra (#589) 2021-06-30 11:27:35 +02:00
wasm_vm.rs fix(perf): plugins are only compiled once 2021-10-26 18:43:17 +01:00