Code

History

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