nice-curses releases / dub version git?

2019-01-12 Thread Droggl via Digitalmars-d-learn

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


Re: nice-curses releases / dub version git?

2019-01-12 Thread 0xEAB via Digitalmars-d-learn

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


Re: nice-curses releases / dub version git?

2019-01-12 Thread Neia Neutuladh via Digitalmars-d-learn
On Sat, 12 Jan 2019 12:10:25 +, 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.


Re: nice-curses releases / dub version git?

2019-01-12 Thread H. S. Teoh via Digitalmars-d-learn
On Sat, Jan 12, 2019 at 05:38:09PM +, Neia Neutuladh via 
Digitalmars-d-learn wrote:
> On Sat, 12 Jan 2019 12:10:25 +, 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.