Code

History

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