Code

History

Commits on git-sync to cli/src/text_util.rs23
  1. text_util: add `write_replaced` functionBenjamin Tan committed 7 months ago4c2146c
  2. tests: Replace Result.unwrap with ? operator in test functionsGaëtan Lehmann committed 7 months agoacee40c
  3. tests: run `cargo insta test --force-update-snapshots`Ilya Grigoriev committed 8 months ago3a9e56d
  4. templater: add builtin `hyperlink()` functionGeorge Christou committed 9 months ago44bf7e4
  5. tests: exercise remaining text_util functionsDavid Higgs committed 9 months ago309df70
  6. formatter: make push/pop_label() never failYuya Nishihara committed 1 year ago760ab75
  7. formatter: emit pending color sequence on flush() instead of pop_label()Yuya Nishihara committed 1 year ago6a70a9b
  8. cli lib: make use of `Self` consistentadamnemecek committed 1 year ago8a26df2
  9. tests: run `insta --force-update-snapshots`Ilya Grigoriev committed 1 year ago5eae2d9
  10. templater: add optional ellipsis arg to truncate template functionsJosh Steadmon committed 1 year ago975e1e1
  11. templater: add pad_centered template functionJosh Steadmon committed 1 year ago227ecce
  12. cli: migrate remainder of Config::get() to StackedConfig::get()Yuya Nishihara committed 1 year ago4134511
  13. text_util: add function to pad labeled textYuya Nishihara committed 2 years agoca5d119
  14. text_util: add functions to truncate labeled textYuya Nishihara committed 2 years ago0eb4fe8
  15. text_util: extract generic truncation helpers to support &[u8]Yuya Nishihara committed 2 years ago8a1cdd9
  16. text_util: add elide_end() functionYuya Nishihara committed 2 years ago6a1db0d
  17. cli: add `--author` argument for `commit` and `describe`Mateusz Mikuła committed 2 years ago2e9049b
  18. formatting only: switch to Item level import ganularityMatt Kulukundis committed 2 years ago8ead72e
  19. cli: add `ui.color = "debug"`tinger committed 2 years agod0a29a8
  20. formatter: use write!() or writeln!() thoroughly, remove .write_str()Yuya Nishihara committed 2 years ago00285be
  21. formatter: reset colors on early dropMartin von Zweigbergk committed 3 years ago46a8afe
  22. cli: add helper to elide text from leftYuya Nishihara committed 3 years ago3d54df9
  23. cli: move src/ directory to new cli/ directoryAustin Seipp committed 3 years ago48fa821