Comments (20)
I won't merge it though. But you can implement it for yourself and use it. It's not like I spam commits every day and you'll have trouble merging them back into your fork. Termbox is pretty much done, sure there are some features I would like to work on, but it's unlikely that I will.
I probably will fork if if necessary, but it would be nice to upstream the changes for the sake of distribution and such. Termbox is a nice lib, it shouldn't be left out to dry imo. But if you insist, a fork it shall be.
As for fancy UIs - maybe someone has a specific TUI that they want colored differently from the rest and use 24 bit colors for that? And even for fancy UIs, some people just prefer the terminal UX. Why did you make this library in the first place if you disagree? I'm working on a mail client, in the terminal because I want it to be keyboard driven and integrate nicely with vim and other command line tools. It's also easier to port if it doesn't depend on i.e. GTK.
from termbox.
@tomas how do you feel about this feature?
from termbox.
I have no plans to develop it, but I'd be happy to merge it into my fork if you send a pull request. :)
from termbox.
If that's a feature request, someone should implement it. It won't be me, because I'm in maintenance-only mode for this project at the moment (actually for all of my open source projects).
from termbox.
Also reflects my thoughts on the issue: nsf/termbox-go#52.
Shortly: if you want more than 256 colors, you're probably making a game. Please, don't do it in a terminal, I don't want to suffer while playing your game.
I may revisit that opinion in future. My opinion changes over time. Before I was absolutely sure about not adding mouse support and 256-color mode support to the termbox. Now it's there. (Go version of the termbox has mouse support).
from termbox.
@nsf almost 2 years passed, true color gained huge support across the programs (see updated gist). Have you changed your opinion yet?
from termbox.
Nope. During those 2 years I joined the HTML/CSS cult, so I don't feel like popularizing terminals further.
from termbox.
Using termbox to render a terminal emulator (sort of thing tmux does), color support in termbox being so constrained is a bit of a pain. Also makes it difficult to offer better user color customization.
from termbox.
User color customization is done in the terminal configuration. Programs that uses extended colors beyond the basic set just messes it all up and makes the terminal less nice to look at.
from termbox.
That's a matter of opinion. I want to give users the option.
from termbox.
then open a PR, instead of whining. did you even ever use termbox ? it's meant to be used for lightweight terminal apps that don't need the full power of ncurses.
from termbox.
Of course I have used termbox. I'm bringing the issue up for further discussion before I spend the effort on a pull request to make sure it's thought out first.
from termbox.
I won't merge it though. But you can implement it for yourself and use it. It's not like I spam commits every day and you'll have trouble merging them back into your fork. Termbox is pretty much done, sure there are some features I would like to work on, but it's unlikely that I will.
And for god's sake, stop using terminals to make fancy UIs. I mean if you want something basic and quick - great, but for anything serious go with proper GUI libs or HTML. And I would understand if we were talking about Go version of the termbox, because in Go you need high quality bindings and all that. But in C/C++, you have all the libs to choose from.
from termbox.
@SirCmpwn why not use ncurses then? it already does 24bit colors
from termbox.
Because I prefer termbox's significantly simpler API, implementation, and footprint, of course.
from termbox.
if you want to down the footprint you can also use netbsd curses and for a simpler API, concol on top of it.
from termbox.
Well, it's not my call which curses is distributed in end-user distros, I don't like having complexity anywhere in my stack anyway, and concol is not easily/consistently packagable.
from termbox.
@SirCmpwn did you fork termbox with true colors?
from termbox.
There is an advanced fork @ https://github.com/tomas/termbox
from termbox.
There is an active fork @ https://github.com/termbox/termbox2
from termbox.
Related Issues (20)
- Feature request: enable and generate focus gained/lost events
- Termbox does not start in LXC HOT 2
- Delayed ESC event in INPUT_ESC mode HOT 4
- Build failure on OpenBSD: SIGWINCH HOT 1
- Port https://github.com/nsf/termbox-go/issues/185 HOT 3
- demo doesnt work on Beaglebone
- Python.h: No such file or directory HOT 4
- TB_OUTPUT_256: Cannot use black / write CSI 38;5;0
- Improper select() error handling HOT 3
- Does not work with Python 3.7 HOT 4
- Confution about output mode 216
- KeyCtrlArrow<Up/Down/Left/Right> support HOT 1
- no pkg-config .pc file found HOT 4
- How to build demo examples.
- Documentation of the API could be more helpful HOT 1
- Is this a C library? HOT 2
- Are extended terminfo files being correctly parsed? HOT 2
- Allow reading the front buffer?
- tb_peek_event() buffers inputs with sleep_for() c++11 HOT 1
- Documentation: Termbox crystal-lang wrapper. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termbox.