Re: curses/ncurses liberary in D

2022-08-05 Thread Adam D Ruppe via Digitalmars-d-learn
On Friday, 5 August 2022 at 18:20:36 UTC, pascal111 wrote: But I'll need help to understand some functions like how we can use "readf" equivalent, I don't see it. http://arsd-official.dpldocs.info/arsd.terminal.html#get-line get a line then strip it and convert to whatever numbers you want

Re: curses/ncurses liberary in D

2022-08-05 Thread pascal111 via Digitalmars-d-learn
On Friday, 5 August 2022 at 12:02:27 UTC, Adam D Ruppe wrote: On Friday, 5 August 2022 at 04:14:22 UTC, H. S. Teoh wrote: including cursorX, cursorY Worth noting these are not initialized in linear mode, only in fullscreen/cellular. I might change that soon, it is on my todo list.

Re: curses/ncurses liberary in D

2022-08-05 Thread pascal111 via Digitalmars-d-learn
On Friday, 5 August 2022 at 04:14:22 UTC, H. S. Teoh wrote: On Thu, Aug 04, 2022 at 11:52:48PM +, pascal111 via Digitalmars-d-learn wrote: On Thursday, 4 August 2022 at 21:35:37 UTC, Adam D Ruppe wrote: > On Thursday, 4 August 2022 at 21:15:39 UTC, pascal111 wrote: > > >

Re: curses/ncurses liberary in D

2022-08-05 Thread Adam D Ruppe via Digitalmars-d-learn
On Friday, 5 August 2022 at 04:14:22 UTC, H. S. Teoh wrote: including cursorX, cursorY Worth noting these are not initialized in linear mode, only in fullscreen/cellular. I might change that soon, it is on my todo list. (Granted, though, the main page could be expanded to include examples

Re: curses/ncurses liberary in D

2022-08-04 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Aug 04, 2022 at 11:52:48PM +, pascal111 via Digitalmars-d-learn wrote: > On Thursday, 4 August 2022 at 21:35:37 UTC, Adam D Ruppe wrote: > > On Thursday, 4 August 2022 at 21:15:39 UTC, pascal111 wrote: > > > > https://github.com/adamdruppe/arsd/blob/master/terminal.d > > > > > > How

Re: curses/ncurses liberary in D

2022-08-04 Thread pascal111 via Digitalmars-d-learn
On Thursday, 4 August 2022 at 21:35:37 UTC, Adam D Ruppe wrote: On Thursday, 4 August 2022 at 21:15:39 UTC, pascal111 wrote: https://github.com/adamdruppe/arsd/blob/master/terminal.d How can I use this terminal module? Is there a document for it?

Re: curses/ncurses liberary in D

2022-08-04 Thread Paul Backus via Digitalmars-d-learn
On Thursday, 4 August 2022 at 21:15:39 UTC, pascal111 wrote: On Wednesday, 3 November 2021 at 05:43:05 UTC, harakim wrote: https://github.com/adamdruppe/arsd/blob/master/terminal.d How can I use this terminal module? Is there a document for it? It is part of the arsd-official package,

Re: curses/ncurses liberary in D

2022-08-04 Thread Adam D Ruppe via Digitalmars-d-learn
On Thursday, 4 August 2022 at 21:15:39 UTC, pascal111 wrote: https://github.com/adamdruppe/arsd/blob/master/terminal.d How can I use this terminal module? Is there a document for it? http://arsd-official.dpldocs.info/arsd.terminal.html

curses/ncurses liberary in D

2022-08-04 Thread pascal111 via Digitalmars-d-learn
https://forum.dlang.org/post/bjldcmojboremdrok...@forum.dlang.org On Wednesday, 3 November 2021 at 05:43:05 UTC, harakim wrote: On Wednesday, 3 November 2021 at 01:39:02 UTC, H. S. Teoh wrote: On Wed, Nov 03, 2021 at 01:33:28AM +, dangbinghoo via Digitalmars-d-learn wrote: On Wednesday, 3

Re: curses/ncurses liberary in D

2021-11-02 Thread harakim via Digitalmars-d-learn
On Wednesday, 3 November 2021 at 01:39:02 UTC, H. S. Teoh wrote: On Wed, Nov 03, 2021 at 01:33:28AM +, 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!

Re: curses/ncurses liberary in D

2021-11-02 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Nov 03, 2021 at 01:33:28AM +, 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 >

Re: curses/ncurses liberary in D

2021-11-02 Thread dangbinghoo via Digitalmars-d-learn
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

curses/ncurses liberary in D

2021-11-02 Thread pascal111 via Digitalmars-d-learn
How can I include "ncurses" liberary in D? I'm using Ubuntu and GDC!