How can I include "ncurses" liberary in D? I'm using Ubuntu and GDC!
Thread overview | ||||||
---|---|---|---|---|---|---|
|
November 03, 2021 curses/ncurses liberary in D | ||||
---|---|---|---|---|
| ||||
November 03, 2021 Re: curses/ncurses liberary in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to pascal111 | On Wednesday, 3 November 2021 at 00:50:31 UTC, pascal111 wrote: >How can I include "ncurses" liberary in D? I'm using Ubuntu and GDC! Search ncurses in Dub registray shows that there's 3 ncurses D bingdings. |
November 02, 2021 Re: curses/ncurses liberary in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to dangbinghoo | On Wed, Nov 03, 2021 at 01:33:28AM +0000, dangbinghoo via Digitalmars-d-learn wrote: > On Wednesday, 3 November 2021 at 00:50:31 UTC, pascal111 wrote: > > How can I include "ncurses" liberary in D? I'm using Ubuntu and GDC! > > Search ncurses in Dub registray shows that there's 3 ncurses D bingdings. > > https://code.dlang.org/search?q=ncurses In addition to that, I highly recommend Adam's arsd.terminal as an ncurses replacement. It's not API equivalent, but is much more idiomatic D than any ncurses binding would be. T -- Truth, Sir, is a cow which will give [skeptics] no more milk, and so they are gone to milk the bull. -- Sam. Johnson |
November 03, 2021 Re: curses/ncurses liberary in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On Wednesday, 3 November 2021 at 01:39:02 UTC, H. S. Teoh wrote: > On Wed, Nov 03, 2021 at 01:33:28AM +0000, dangbinghoo via Digitalmars-d-learn wrote: >> On Wednesday, 3 November 2021 at 00:50:31 UTC, pascal111 wrote: >> > How can I include "ncurses" liberary in D? I'm using Ubuntu and GDC! >> >> Search ncurses in Dub registray shows that there's 3 ncurses D bingdings. >> >> https://code.dlang.org/search?q=ncurses > > In addition to that, I highly recommend Adam's arsd.terminal as an ncurses replacement. It's not API equivalent, but is much more idiomatic D than any ncurses binding would be. > > > T https://github.com/adamdruppe/arsd/blob/master/terminal.d |
Copyright © 1999-2021 by the D Language Foundation