Code

History

Commits on patch-1 to cli/src/ui.rs35+
  1. cli, lib: move to Rust 2024 language editionAustin Seipp committed 1 year agoba24140
  2. cli lib: make use of `Self` consistentadamnemecek committed 1 year ago8a26df2
  3. cli: add CommandNameAndArgs::as_str() helperYuya Nishihara committed 1 year agof0386e2
  4. cli: add config option for built-in pager's rulerSam committed 1 year ago001801a
  5. ui: do not pass empty choice input to parse functionYuya Nishihara committed 1 year ago322c995
  6. ui: reimplement prompt_yes_no() by using prompt_choice_with()Yuya Nishihara committed 1 year ago1a4d8db
  7. ui: extract prompt_choice_with(..callback)Yuya Nishihara committed 1 year ago083292d
  8. ui: make prompt_choice() return index of choicesYuya Nishihara committed 1 year ago67a2f41
  9. cleanup: switch to use<'_> capturing syntaxYuya Nishihara committed 1 year agoa27d925
  10. streampager: stop uselessly reading the config file (fix a TODO)Ilya Grigoriev committed 1 year ago55f130e
  11. ui.rs: style, fixup to 8aa2916Ilya Grigoriev committed 1 year agoe83b328
  12. built-in pager: allow configuring streampager optionsIlya Grigoriev committed 1 year agof60014f
  13. pager: refactor pager config (no-op)Ilya Grigoriev committed 1 year ago8aa2916
  14. cli: add ability to construct null Ui without any outputJakob Hellermann committed 1 year agod7c887c
  15. cli: completion: derive `clap::ValueEnum` for `ColorChoice`Jakob Hellermann committed 1 year ago3293a1a
  16. cleanup: remove a bunch of unused Default implsIlya Grigoriev committed 1 year ago5daa138
  17. ui: switch builtin pager to streampagerYuya Nishihara committed 2 years agofadbbcb
  18. docs/cli: update URLs to from martinvonz user to jj-vcs orgMartin von Zweigbergk committed 1 year agob836e0a
  19. ui: define default ui.color in config/misc.toml, use serde to parse valueYuya Nishihara committed 1 year ago564ce04
  20. progress: add test of progress bar's periodic outputMartin von Zweigbergk committed 1 year ago4fc539b
  21. ui: define default ui.quiet and .progress-indicator in config/misc.tomlYuya Nishihara committed 1 year agoa733924
  22. ui: inline and simplify one-line config.get() functionsYuya Nishihara committed 1 year ago3a38d7a
  23. config: introduce our ConfigGetError typeYuya Nishihara committed 1 year agoc0ce880
  24. cli: migrate remainder of Config::get() to StackedConfig::get()Yuya Nishihara committed 1 year ago4134511
  25. config: add type alias for config::ConfigErrorYuya Nishihara committed 1 year ago6d26d53
  26. ui: write prompt messages to stderrdploch committed 2 years ago0c7357e
  27. ui: simplify stripping logic and get rid of warningdploch committed 2 years ago7b8df5d
  28. style: inline variables into format stringsSamuel Tardieu committed 2 years ago46e2723
  29. formatting only: switch to Item level import ganularityMatt Kulukundis committed 2 years ago8ead72e
  30. ui: do not write() to channel if builtin pager has terminatedYuya Nishihara committed 2 years agof4dd856
  31. ui: include error sources in pager warningYuya Nishihara committed 2 years agoce2bc8d
  32. built-in pager: write a message to the user if pager failed to startIlya Grigoriev committed 2 years ago37ccfd5
  33. ui: print :builtin pager suggestion as a hintYuya Nishihara committed 2 years agocf053b7
  34. ui: rewrite request_pager() to return early and use stdout instanceYuya Nishihara committed 2 years agob503ecb
  35. ui: extract finalize_pager() as UiOutput methodYuya Nishihara committed 2 years ago47a4406