Code

History

Commits on git-sync to cli/src/ui.rs35+
  1. ui: Make can_prompt return false when stdout is nullMatt Stark committed 7 months ago15ac425
  2. templater: add builtin `hyperlink()` functionGeorge Christou committed 9 months ago44bf7e4
  3. ui: hide progress bar when `--quiet` is specifiedGeorge Christou committed 9 months agoe6b0f59
  4. clippy: fix unnecessary_semicolon lintxtqqczze committed 9 months agocbe8b79
  5. ui: initialize streampager with ttyYuya Nishihara committed 10 months ago3656d27
  6. rustc_lint: enable let_underscore_drop lintxtqqczze committed 11 months ago82865b6
  7. cleanup: remove redundant + use<'_> after migrating to 2024 editionYuya Nishihara committed 1 year ago5f40f62
  8. ui: switch to std::io::pipe()Yuya Nishihara committed 1 year ago78c09fc
  9. cargo: bump MSRV to 1.88Austin Seipp committed 1 year ago419bd51
  10. codespell: forbid British EnglishIlya Grigoriev committed 1 year ago93368f1
  11. formatter: reimplement LabeledWriter as RAII typeYuya Nishihara committed 1 year agoe1d0ec1
  12. formatter: move labeled() to extension trait, add owned versionYuya Nishihara committed 2 years ago2c0f65e
  13. cli, lib: move to Rust 2024 language editionAustin Seipp committed 1 year agoba24140
  14. cli lib: make use of `Self` consistentadamnemecek committed 1 year ago8a26df2
  15. cli: add CommandNameAndArgs::as_str() helperYuya Nishihara committed 1 year agof0386e2
  16. cli: add config option for built-in pager's rulerSam committed 1 year ago001801a
  17. ui: do not pass empty choice input to parse functionYuya Nishihara committed 1 year ago322c995
  18. ui: reimplement prompt_yes_no() by using prompt_choice_with()Yuya Nishihara committed 1 year ago1a4d8db
  19. ui: extract prompt_choice_with(..callback)Yuya Nishihara committed 1 year ago083292d
  20. ui: make prompt_choice() return index of choicesYuya Nishihara committed 1 year ago67a2f41
  21. cleanup: switch to use<'_> capturing syntaxYuya Nishihara committed 1 year agoa27d925
  22. streampager: stop uselessly reading the config file (fix a TODO)Ilya Grigoriev committed 1 year ago55f130e
  23. ui.rs: style, fixup to 8aa2916Ilya Grigoriev committed 1 year agoe83b328
  24. built-in pager: allow configuring streampager optionsIlya Grigoriev committed 1 year agof60014f
  25. pager: refactor pager config (no-op)Ilya Grigoriev committed 1 year ago8aa2916
  26. cli: add ability to construct null Ui without any outputJakob Hellermann committed 1 year agod7c887c
  27. cli: completion: derive `clap::ValueEnum` for `ColorChoice`Jakob Hellermann committed 1 year ago3293a1a
  28. cleanup: remove a bunch of unused Default implsIlya Grigoriev committed 1 year ago5daa138
  29. ui: switch builtin pager to streampagerYuya Nishihara committed 2 years agofadbbcb
  30. docs/cli: update URLs to from martinvonz user to jj-vcs orgMartin von Zweigbergk committed 1 year agob836e0a
  31. ui: define default ui.color in config/misc.toml, use serde to parse valueYuya Nishihara committed 1 year ago564ce04
  32. progress: add test of progress bar's periodic outputMartin von Zweigbergk committed 1 year ago4fc539b
  33. ui: define default ui.quiet and .progress-indicator in config/misc.tomlYuya Nishihara committed 1 year agoa733924
  34. ui: inline and simplify one-line config.get() functionsYuya Nishihara committed 1 year ago3a38d7a
  35. config: introduce our ConfigGetError typeYuya Nishihara committed 1 year agoc0ce880