chiark / gitweb /
impl TextFragmentOneLine for CentredInfoLine.
authorSimon Tatham <anakin@pobox.com>
Sun, 4 Feb 2024 14:51:08 +0000 (14:51 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 4 Feb 2024 14:51:57 +0000 (14:51 +0000)
commit9d3765699f4531c90046122e3c943ab77d75709c
tree175843472758507b55ef05287dcd83d37687790f
parentdc652c7605f1ce2b6c1a6fdea8a5339b3dd818b2
impl TextFragmentOneLine for CentredInfoLine.

This always draws exactly one line, and I'm about to want to use it in
a context that expects that and doesn't want to worry about unpacking
a returned vector.
src/text.rs