Thread overview
nice-curses releases / dub version git?
6 days ago
Droggl
6 days ago
0xEAB
6 days ago
Neia Neutuladh
6 days ago
H. S. Teoh
6 days ago
Hey there D community!
After a a bunch of years absence I'm getting back into D and its quite fun so far :-)

I'm working on a little project that is uses nice-curses and now I stumbled across a bug that makes building impossible on Windows for me. Luckily that was fixed 3 months ago, but the last nice-curses release is from 2017 :-(

So here are my questions:

1. Are there any plans in terms of future releases of nice-curses?
2. Is there a way to get a certain git-version (eg. commit or maybe even just "latest") for a package in dub?
3. How is everyone in general using curses with D? Is there maybe a different library I should checkout instead? Are you using latest git?

Best regards,
Droggl
6 days ago
On Saturday, 12 January 2019 at 12:10:25 UTC, Droggl wrote:
> 2. Is there a way to get a certain git-version (eg. commit or maybe even just "latest") for a package in dub?

JSON: "nice-curses": "~master"
SDL: dependency "nice-curses" version="~master"


> 3. How is everyone in general using curses with D? Is there maybe a different library I should checkout instead?

I usually use arsd.terminal instead.


 - Elias
6 days ago
On Sat, 12 Jan 2019 12:10:25 +0000, Droggl wrote:
> 2. Is there a way to get a certain git-version (eg. commit or maybe even just "latest") for a package in dub?

git submodule and path-based dependencies, if you need a particular version.

> 3. How is everyone in general using curses with D? Is there maybe a different library I should checkout instead? Are you using latest git?

dstep on curses.h and including that directly in my project.
6 days ago
On Sat, Jan 12, 2019 at 05:38:09PM +0000, Neia Neutuladh via Digitalmars-d-learn wrote:
> On Sat, 12 Jan 2019 12:10:25 +0000, Droggl wrote:
[...]
> > 3. How is everyone in general using curses with D? Is there maybe a different library I should checkout instead? Are you using latest git?
[...]

I tried using (n)curses in D before, but eventually opted for a D-specific solution: Adam Ruppe's terminal.d:

	https://github.com/adamdruppe/arsd/blob/master/terminal.d

Fits much better with idiomatic D, and has served me very well since.


T

-- 
What doesn't kill me makes me stranger.