vezel-dev / cathode

A terminal-centric replacement for the .NET console APIs.
https://docs.vezel.dev/cathode
BSD Zero Clause License
91 stars 7 forks source link

Use an interpolated string handler in `ControlBuilder` #55

Closed alexrp closed 2 years ago

alexrp commented 2 years ago

See: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-10.0/improved-interpolated-strings

This would let us write directly into the backing ArrayBufferWriter, which is useful since passing interpolated strings to Print and PrintLine is going to be quite common.