Questions tagged [haskell-brick]

Questions about brick, a terminal user interface library for Haskell.

3 questions
3
votes
2 answers

Brick not exporting Next or continue

I am attempting to build a CLI interface for a basic app using Haskell and the Brick package. In all examples I have seen (including the documentation), the handleEvent function has the following type signature, in order to tell Brick to continue or…
Alex Scriba
  • 95
  • 1
  • 8
3
votes
1 answer

RGB Terminal Colors with Haskell and Brick

I know that the Brick and the VTY hackage do not support escape sequences. VTY only supports 240 colors. Is there any workaround to use true RGB colors and not mess up the layout? This is an example I made, but I can't get the border right: module…
birneee
  • 623
  • 4
  • 10
0
votes
1 answer

How to have procedural radioField options in Haskell's brick library?

I can't wrap my head around how to have procedural a radioField, since I have to give each option a name. In my case, I want to load the available options from a database and therefore I can't have them statically named. Does anybody have an…
sclausen
  • 1,720
  • 3
  • 15
  • 22