Home » Developing U++ » U++ Developers corner » U++ talk
| Re: U++ talk [message #61931 is a reply to message #18047] |
Sat, 21 February 2026 11:57   |
Oblivion
Messages: 1254 Registered: August 2007
|
Senior Contributor |
|
|
Just to put a historical note for others here, before the official announcement (which is just a couple of weeks away), etc.
Quote:IMO the actual problem of "pixel" gui in text mode is simple - how to represent widgets and dialogs, originally designed for "real" pixels, in environment where 1 pixel == 1 character.
E.g. think about all those Frames in EditFields.
Therefore I am afraid that text mode GUI would require heavy adjustment to everything -> it is perhaps easier to design it from scratch (not to use CtrlLib). OTOH, Ctrl itself has perhaps suitable interface....
This is already done and going to public in the first quarter of 2026.
Windows, frames, ctrls, timers, "chameleon", and all other core/architectural issues are already resolved and EditField, DocEdit etc. is already in place. This is going to expand the Upp to the world of terminals and TUIs (in a cross-platform fashion).
Yet Upp::Tui is not a port, it is indeed written from scratch by utilizing the same concepts, architecture (+api) and core classes.
Some "cool" videos, screenshots and code examples can be found on U++ discord server. 
And you might be suprised how powerful it is. (ıt does some cool tricks that no other open source TUI does, at least not that I know of)
A hello world example
#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 (Z-order aware, focus-managed, keyboard and mouse enabled, cursor-synchronized repaint-correct event-loop driven) with no global state, no boilerplate, and no terminal-specific code, not to mention the generated exe code size is under 1MB on linux (and ~660K of it is Upp/Core, not tui related).
tested on all popular modern terminal emulators (including Bobcat & Windows Terminal, and, yes, plain linux console) and works on linux, Windows, macOS. Out of the box (check the attached video).
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Sat, 21 February 2026 13:47] Report message to a moderator
|
|
|
|
 |
|
U++ talk
By: amrein on Mon, 01 September 2008 14:43
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: cbpporter on Mon, 01 September 2008 15:00
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: guido on Mon, 01 September 2008 23:32
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: amrein on Tue, 02 September 2008 11:38
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 14:22
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 10:06
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: amrein on Tue, 02 September 2008 12:45
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 13:53
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 14:17
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: cbpporter on Tue, 02 September 2008 14:19
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 14:29
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: captainc on Tue, 02 September 2008 16:22
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Wed, 10 September 2008 19:26
|
 |
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Wed, 03 September 2008 09:49
|
 |
|
Re: U++ talk
By: amrein on Tue, 02 September 2008 20:47
|
 |
|
Re: U++ talk
By: mirek on Tue, 02 September 2008 21:23
|
 |
|
Re: U++ talk
By: mirek on Tue, 02 September 2008 21:24
|
 |
|
Re: U++ talk
By: amrein on Tue, 02 September 2008 22:20
|
 |
|
Re: U++ talk
By: mirek on Tue, 02 September 2008 23:20
|
 |
|
Re: U++ talk
By: cbpporter on Tue, 02 September 2008 22:30
|
 |
|
Re: U++ talk
By: mirek on Tue, 02 September 2008 23:22
|
 |
|
Re: U++ talk
By: amrein on Tue, 02 September 2008 23:37
|
 |
|
Re: U++ talk
By: captainc on Wed, 03 September 2008 03:44
|
 |
|
Re: U++ talk
By: mirek on Wed, 03 September 2008 09:58
|
 |
|
Re: U++ talk
By: cbpporter on Wed, 03 September 2008 10:23
|
 |
|
Re: U++ talk
By: mirek on Wed, 03 September 2008 11:10
|
 |
|
Re: U++ talk
By: amrein on Wed, 03 September 2008 18:52
|
 |
|
Re: U++ talk
By: mirek on Wed, 03 September 2008 22:55
|
 |
|
Re: U++ talk
By: mirek on Wed, 03 September 2008 23:00
|
 |
|
Re: U++ talk
By: cbpporter on Thu, 04 September 2008 04:52
|
 |
|
Re: U++ talk
By: mr_ped on Thu, 04 September 2008 09:30
|
 |
|
Re: U++ talk
By: mirek on Thu, 04 September 2008 12:45
|
 |
|
Re: U++ talk
By: amrein on Thu, 04 September 2008 13:41
|
 |
|
Re: U++ talk
By: mirek on Thu, 04 September 2008 21:55
|
 |
|
Re: U++ talk
By: amrein on Thu, 04 September 2008 13:38
|
 |
|
Re: U++ talk
By: mirek on Thu, 04 September 2008 21:54
|
 |
|
Re: U++ talk
By: amrein on Thu, 04 September 2008 23:06
|
 |
|
Re: U++ talk
By: amrein on Thu, 04 September 2008 23:28
|
 |
|
Re: U++ talk
|
 |
|
Re: U++ talk
By: Novo on Mon, 08 September 2008 05:01
|
 |
|
Re: U++ talk
By: mirek on Mon, 08 September 2008 08:23
|
 |
|
Re: U++ talk
By: Oblivion on Sat, 21 February 2026 11:57
|
 |
|
Re: U++ talk
|
 |
|
Re: U++ talk
By: mr_ped on Mon, 08 September 2008 11:16
|
Goto Forum:
Current Time: Mon Mar 02 00:05:45 CET 2026
Total time taken to generate the page: 0.10333 seconds
|