www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - nice-curses releases / dub version git?

reply Droggl <henning hasemail.de> writes:
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
Jan 12
next sibling parent 0xEAB <desisma heidel.beer> writes:
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
Jan 12
prev sibling parent reply Neia Neutuladh <neia ikeran.org> writes:
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.
Jan 12
parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
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.
Jan 12