HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulecursor-brick-0.1.0.1Haskell2010

Cursor.Brick.Text

  • 9 values

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.

valuenonNullText :: Text -> Text
#

Makes a text non-empty.

This turns the empty text into " " and leaves other text as-is.