U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » Upp::Tui (A TUI framework for U++)
Upp::Tui [message #61939] Tue, 10 March 2026 18:19 Go to next message
Oblivion is currently offline  Oblivion
Messages: 1265
Registered: August 2007
Senior Contributor
Hi,

Since the release day is getting closer, I would like to officially announce Upp::Tui.

So, what is Upp::Tui?

It is a retained-mode TUI framework that brings the actual U++ control and layout model into the terminal. Not "inspired by". Not "similar to". The same semantics, the same mental model but just fewer pixels and more cells. (will be publicly available around May 2026). I would like to share a short demo video with you all:

https://vimeo.com/1172225859

Notes:

- I have to upload it to somewhere else, because the video is large. However the demo app you see in the video isnt. Its size is 904536 bytes (Under 1 MB).
- As you can see in the video, it can do compositing, has modal and non-modal windows zorder, focus chaining, full mouse and keyboard support (even double clicks and drag & drop) and proper clipping and smooth animations.
- That said, all of them are optional.
- It already works on POSIX (linux/macOS) and Windows. It even runs on windows cli & linux console.


Note that, there are many development videos and actual code pieces demonstrated on Upp's discord server (in coffee-corner channel).

A simple hello world app (using prompts)

#include <TuiLib/TuiLib.h>

using namespace Upp;
using namespace Upp::Tui;

CONSOLE_APP_MAIN
{
    Session session;
    PromptOK(session, t_("Hello, world."));
}


This creates a modal window with OK button, has zorder, focus iteration/change, windowing,Upp's frame and layout positioning, smart (rich) text aware widget, full keyboard and mouse support (even wheel, double click and drag) and, yes, chameleon (skins). Cool

It will be in BSD-3 license as usual.

Best regards,

Oblivion





[Updated on: Wed, 11 March 2026 05:58]

Report message to a moderator

Re: Upp::Tui [message #61966 is a reply to message #61939] Wed, 01 April 2026 21:36 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1265
Registered: August 2007
Senior Contributor
Hi,

Today is a milestone for Upp::Tui.

Upp::Tui from now on supports TheIDE's layout editor. Which means you will be able to design your tui using TheIDE!
Good news is that it does not require any change to TheIDE. it will work as is.
You just add layout file to yout Upp::Tui project, and it works, and works well, rather -admittedly- suprisingly.
Here's a short demo video: https://vimeo.com/1179340523?share=copy&fl=sv&fe=ci

There are some rough edges (like scaling) but -hopefully- they will be fixed too.

Best regards,
Oblivion


Previous Topic: U++ talk
Next Topic: Touchscreen issue in Raspberry Pi5
Goto Forum:
  


Current Time: Mon Apr 27 06:21:07 GMT+2 2026

Total time taken to generate the page: 0.00403 seconds