this post was submitted on 30 Aug 2022
8 points (100.0% liked)

General Programming Discussion

7814 readers
5 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

I really like tui applications, because they are sustainable, efficient, distraction free and often do one thing in which they are good in.

But I can't find a good application for every purpose I need and want to create my own tui application.

And the only thing I know of is ncurses. But because it's really old, I don't know if it's still state-of-the-art or are there better solutions?

Which language would be the best to create a sustainable tui application?

Thanks for your help :)

you are viewing a single comment's thread
view the rest of the comments
[–] dressupgeekout@lemmy.ml 3 points 2 years ago (1 children)

Well, you're wanting to write a TUI in the first place, which (arguably) means you're not really looking for "state of the art" or "modern" -- if you see what I mean.

And if one wants to write a TUI app, then curses is the most natural and least bloated way I can think of to make that happen.

And you don't need to resort to writing your app in C -- lots (most?) programming languages have bindings to curses. I've written a curses app in Ruby, for example.

[–] utopify_org@lemmy.ml 1 points 2 years ago (1 children)

Is your Ruby application open source? I am curious for what it is :)

[–] dressupgeekout@lemmy.ml 3 points 2 years ago* (last edited 2 years ago) (1 children)

Yes they're open source. They're also not terribly interesting and I haven't updated them in many years, but maybe I should fix that!

https://github.com/dressupgeekout/pless https://github.com/dressupgeekout/pres

[–] utopify_org@lemmy.ml 2 points 2 years ago

Finally someone who uses #!/usr/bin/env in their scripts.