Make a text cursor widget with a blink-y box.
This function does not wrap the given text.
Otherwise, because of the way indexes work, there would be rendering errors for text that crosses the side of the terminal.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Modulecursor-brick-0.1.0.1Haskell2010
Make a text cursor widget with a blink-y box.
This function does not wrap the given text.
Otherwise, because of the way indexes work, there would be rendering errors for text that crosses the side of the terminal.
Make a text cursor widget without a blink-y box.
This function does not wrap the given text.
Draw an arbitrary Text, it will be sanitised.
Draw an arbitrary Text (with wrapping), it will be sanitised.
Draw an arbitrary single-line Text, it will be sanitised.
Draw an arbitrary single-line Text (with wrapping), it will be sanitised.
Makes every line of a Text non-empty using nonNullText
Makes a text non-empty.
This turns the empty text into " " and leaves other text as-is.
Replace tabs by spaces so that brick doesn't render nonsense.
See https://hackage.haskell.org/package/brick/docs/Brick-Widgets-Core.html#v:txt