notty
PDCurses
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
notty
-
I've done TUI (Terminal User Interface) app. This is what it looks like
As some can guess, the architecture was heavily inspired by Elm and Elmish parent-child patterns. Notty - is a cool library, which is a perfect choice for a simple terminal draw. But keep in mind, that you will be responsible for focus management and isolation of all event handlings. Sqlite3-OCaml - is totally imperative library, because it is just bindings on C library. But you get all the essential functionality with which you can build yourself the needed level of abstraction.
PDCurses
-
How to make a GUI?
The latest version can be found at: https://pdcurses.org/
-
GDB on Windows 10, no TUI at all?
I use GDB with openocd on ubuntu system to debug a Samd51 MCU using jlink. it's working good until when I lay next and look at the source code in graphical terminal, so if I scroll in TUI source code, GDB crashed and start printing in weird way(not sure if it's GDB It's might be the ubuntu terminal not liking it). So I decided to use it on windows with the jlink GDB server app, But the issue no is I can't use the TUI interface in windows terminal, and it says not supported, while some people on the internet talking about a missing curses lib. from pdcurses.org on windows that's why not working. any one having any idea on how to make the TUI works?
-
Can curses lib handle resizing of Windows console?
However, I now experimented a litte with the PDCurses implementation in Windows 11, and found that
-
stty not recognized, can't find any solutions anywhere else. Anyone know a fix or another way to set input to raw?
I'm not sure of what's good or bad of the various variants but quick googling found (https://github.com/wmcbrine/PDCurses).
- Expecting pdcurses?
-
I can't include external libraries to my mingw installation
Since ncurses doesn't support Windows, you need PDCurses instead. After extracting the source tarball, cd into wincon/ and run make, which produces pdcurses.a static library. You'll need that library and curses.h from the project root.
-
NNN-like File Explorer
nnn uses the ncurses library. Someone has to compile it with PDCurses to work natively in cmd: https://pdcurses.org/
-
Something faster than printf?
On Windows you might need to use a shim layer (https://pdcurses.org/). However that actually creates an SDL based window and prints characters there.
- PDCurses (ncurses for dos)
-
A terminal based platformer
You may want to investigate using a proper library for the output display. What you have now seems alright to just print out strings, but if it gets much more complicated you may want to check out PDCurses, which is a library for complex handling of the terminal. It's a little lacking in documentation, but it should be compatible with NCurses (which is the UNIX/Linux version) which does have a lot of tutorials out there.
What are some alternatives?
sqlite3-ocaml - OCaml bindings to the SQLite3 database
ncurses - snapshots of ncurses - see https://invisible-island.net/personal/git-exports.html (no pull requests are accepted)
nchat - Terminal-based Telegram / WhatsApp client for Linux and macOS
WTF - Windows Template Framework
terminal-kit - Terminal utilities for node.js
Stacer - Linux System Optimizer and Monitoring - https://oguzhaninan.github.io/Stacer-Web
notty - A new kind of terminal
GTK+ - Read-only mirror of https://gitlab.gnome.org/GNOME/gtk
S-Lang - The S-Lang programming library is a software library for Unix, Windows, VMS, OS/2, and Mac OS X. It provides routines for embedding an interpreter for the S-Lang scripting language, and components to facilitate the creation of text-based applications.[3] The latter class of functions include routines for constructing and manipulating keymaps, an interactive line-editing facility, and both low- and high-level screen/terminal management functions. It is distributed under the terms of the GNU General Public License.
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
FINAL CUT - The modern text-based widget toolkit.
sciter - Sciter: the Embeddable HTML/CSS/JS engine for modern UI development