So video+keyboard is no longer reliable, crt is a mess, FreeVision is a nightmare...can anybody point me to a fpc TUI library that works and is at least somewhat cross-platform?
Mailing lists / fpc-pascal / 2026-08
TUI library
11 messages · 6 people · –
- MMichael Van Canneyt 3
- TTimothy Groves 2
- TTomas Hajny 2
- UUnknown author 2
- BBenny Christensen 1
- SStefan V. Pantazi 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Timothy Groves wroteSo video+keyboard is no longer reliable, crt is a mess, FreeVision is a nightmare...can anybody point me to a fpc TUI library that works and is at least somewhat cross-platform?
I have a version of FreeVision that was rewritten to use classes instead of the old TP model.
It works with TComponent as a base class, the intent is to allow you to design a TUI application in the Lazarus IDE.
The integration in Lazarus is not yet 100% completed (I still need to flesh out some bugs in the designer), but if you don't mind that, and are prepared to do everything in code for the time being, I'm willing to put it already publicly available.
It comes with a lot of simple examples, at least one per 'control'. All are verified to work. If you run into problems, I will of course help you out, because I want to make this really usable.
Michael.
Only problem is, FreeVision doesn't work for the program I am trying to write. For a single-document distraction-free writer, it's extreme overkill. Thanks for the offer, though.
Michael Van Canneyt wrote 12 lines
https://policies.google.com/privacy
https://privacy.microsoft.com/en-us/privacystatement
So video+keyboard is no longer reliable, crt is a mess, FreeVision is a nightmare...can…
24. srpna 2026 21:20:45 SELČ, Timothy Groves via fpc-pascal napsal:
So video+keyboard is no longer reliable, crt is a mess, FreeVision is a nightmare...can anybody point me to a fpc TUI library that works and is at least somewhat cross-platform?
Out of curiousity - why do you say that "video+keyboard is no longer reliable"? FreeVision is based on them as far as I know, and FV is still used for FPC IDE?
Tomas
24. srpna 2026 22:38:34 SELČ, Timothy Groves napsal:
Show quoted text 7 lines
Do you have some details for that (target, what exactly works wrongly, possibly a bug report containing these details)?
Tomas
Only problem is, FreeVision doesn't work for the program I am trying to write. For a…
No worries. Did you try the ncurses library ?
units: form menu ncrt ncurses ocrt
It's much more lightweight. See the examples.
Michael.
Timothy Groves wrote 26 lines
I have a version of FreeVision that was rewritten to use classes instead of the old TP…
I'd love a copy of that code, where can I grab it?
Michael Van Canneyt wrote 30 lines
No worries. Did you try the ncurses library ? units: form menu ncrt ncurses ocrt It's…
I went ahead and compiled the edit_demo.pp in the examples folder. It needed only the {$mode tp} directive to compile successfully. I attached a screenshot.
Thank you Michael for reminding of the ncurses library.
Stefan
Michael Van Canneyt wrote 6 lines
I'd love a copy of that code, where can I grab it?
Hi
Have a look at "github.com/Warfley/LazTermUtils" & " github.com/Warfley/LazTextForms"
Regards Benny 🙂
tir. 25. aug. 2026 04.50 skrev Travis Siegel via fpc-pascal <
Show quoted text 40 lines
I'd love a copy of that code, where can I grab it?
I put it here:
https://gitlab.com/freepascal.org/fpc/cfv
Michael.
