Charles Corbett · @chas
30 followers · 275 posts · Server tty0.social

Well I have the start of a text alignment engine implemented for Text elements.

I arrived at the conclusion naturally that the easiest path was to always start by doing a Left justification, then flip the whitespace for Right justification, or normalize whitespace across the rune array for full. I still have to do center which is going to be interesting.

#tooey #terminalui #tui #golang #tcell #termui #flex #cli #linux #alacritty #development #go

Last updated 1 year ago

Charles Corbett · @chas
30 followers · 270 posts · Server tty0.social

It's in a very early, very rough state but here is my rewrite

It only has a few core functionalities so far, notably flex-like containers and Text and they all need some more work before I consider anything stable.

For the love of TUIs

github.com/asciifaceman/tooey

#termui #tooey #terminalui #tui #golang #tcell #flex #cli

Last updated 1 year ago

Charles Corbett · @chas
30 followers · 269 posts · Server tty0.social

Flexing row and col directions now! I would have had it working an hour ago if I wasn't trying to be smart about it

#terminalui #tui #golang #tooey #tcell #termui #flex #cli

Last updated 1 year ago

Charles Corbett · @chas
30 followers · 268 posts · Server tty0.social

I'll note I'm not trying to create a "true" layout engine, I won't be implementing Shrink and some other stuff. I am mostly using Grow to represent row/column layout to replace the old Grid

#flex #termui

Last updated 1 year ago

Charles Corbett · @chas
30 followers · 268 posts · Server tty0.social

So I may have started rewriting the abandoned originally by Gizak (gizak/termui) to use for the backend and implementing containers with formatting as well as some other planned features. It's a ground up rewrite largely since I changed how some core fundamentals work but there is still a lot of gizak in there in spirit.

My fork rewrite is tentatively called Tooey and it is not ready for any level of consumption yet.

#golang #termui #tcell #flex

Last updated 1 year ago

Pascal Garber · @jumplink
5 followers · 43 posts · Server floss.social

I'd like to introduce the reblessed project: github.com/kenan238/reblessed It's a library for Node.js that is similar to and and allows for creating command line user interfaces. Definitely worth a look if you're into and command line UIs! I think it's really cool and it's surely a useful addition to any interactive Node.js project.

#OpenSource #CLI #NodeJS #ncursed #termui

Last updated 2 years ago