HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulecursor-brick-0.1.0.1Haskell2010

Cursor.Brick.Text

Synopsis

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.