Re: DlangUI 0.9.0: Console backend added

2016-09-14 Thread ketmar via Digitalmars-d-announce
p.p.s. yep, VT-100 had only 4 functional keys, so we still enjoying having 'em encoded separately from the others.

Re: DlangUI 0.9.0: Console backend added

2016-09-14 Thread ketmar via Digitalmars-d-announce
On Wednesday, 14 September 2016 at 05:58:51 UTC, Vadim Lopatin wrote: Thank you! Now dlangui terminal mode supports only 16 colors. Some refactoring is required to support RGB colors. in my editor i'm simply using rgb in [0..255] range, and mapping that to what terminal has. yet it is

Re: DlangUI 0.9.0: Console backend added

2016-09-14 Thread ketmar via Digitalmars-d-announce
On Wednesday, 14 September 2016 at 13:04:40 UTC, ketmar wrote: On Wednesday, 14 September 2016 at 05:58:51 UTC, Vadim Lopatin CSI-with-modifier codes: \e[1; this is common format for keys with modifiers, actually. let me quote my rawtty2: bool xtermMods (uint mci) @nogc { switch (mci) {

Beta D 2.071.2-b5

2016-09-14 Thread Martin Nowak via Digitalmars-d-announce
Fifth and hopefully last beta for the 2.071.2 release. This comes with two more fixes for Issue 16031 and 16460. http://dlang.org/changelog/2.071.2.html http://dlang.org/download.html#dmd_beta Please report any bugs at https://issues.dlang.org -Martin

Re: DlangUI 0.9.0: Console backend added

2016-09-14 Thread ketmar via Digitalmars-d-announce
On Wednesday, 14 September 2016 at 13:04:40 UTC, ketmar wrote: in my editor i'm simply using rgb in [0..255] range, and mapping that to what terminal has. yet it is probably not the best way to make something nice looking when only 16 colors are available. heh, i should try and see how it will

Re: DlangUI 0.9.0: Console backend added

2016-09-14 Thread Rory McGuire via Digitalmars-d-announce
On Wed, Sep 14, 2016 at 3:11 PM, ketmar via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Wednesday, 14 September 2016 at 13:08:18 UTC, Rory McGuire wrote: > >> Screenshots here are what can be done with terminal/ascii: >> http://caca.zoy.org/wiki/libcaca >> > >

Re: Beta D 2.071.2-b5

2016-09-14 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 14 September 2016 at 12:16:51 UTC, Martin Nowak wrote: Fifth and hopefully last beta for the 2.071.2 release. This comes with two more fixes for Issue 16031 and 16460. LDC master is up-to-date with 2.071.2-b5!

Re: DlangUI 0.9.0: Console backend added

2016-09-14 Thread ketmar via Digitalmars-d-announce
On Wednesday, 14 September 2016 at 13:08:18 UTC, Rory McGuire wrote: Screenshots here are what can be done with terminal/ascii: http://caca.zoy.org/wiki/libcaca still, you can't use shading charaters to color text, so 16 colors for text output won't look that impressive. ;-)

Re: DlangUI 0.9.0: Console backend added

2016-09-14 Thread Rory McGuire via Digitalmars-d-announce
On Wed, Sep 14, 2016 at 3:04 PM, ketmar via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Wednesday, 14 September 2016 at 05:58:51 UTC, Vadim Lopatin wrote: > >> Thank you! >> Now dlangui terminal mode supports only 16 colors. >> Some refactoring is required to

Re: Beta D 2.071.2-b5

2016-09-14 Thread Ali Çehreli via Digitalmars-d-announce
On 09/14/2016 05:58 AM, Johan Engelen wrote: On Wednesday, 14 September 2016 at 12:16:51 UTC, Martin Nowak wrote: Fifth and hopefully last beta for the 2.071.2 release. This comes with two more fixes for Issue 16031 and 16460. LDC master is up-to-date with 2.071.2-b5! Wow! LDC is just 42

Re: Beta D 2.071.2-b5

2016-09-14 Thread Rory McGuire via Digitalmars-d-announce
On Wed, Sep 14, 2016 at 4:04 PM, Ali Çehreli via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On 09/14/2016 05:58 AM, Johan Engelen wrote: > >> On Wednesday, 14 September 2016 at 12:16:51 UTC, Martin Nowak wrote: >> >>> Fifth and hopefully last beta for the 2.071.2

Re: DlangUI 0.9.0: Console backend added

2016-09-14 Thread Vadim Lopatin via Digitalmars-d-announce
On Tuesday, 13 September 2016 at 13:40:32 UTC, ketmar wrote: On Tuesday, 13 September 2016 at 12:29:47 UTC, Vadim Lopatin wrote: Screenshots on imgur: http://imgur.com/a/eaRiT btw. please note that on most GNU/Linux terminals you can use simple RGB colors (with each component in [0..5]

Re: Beta D 2.071.2-b4

2016-09-14 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-09-13 16:00, Martin Nowak wrote: There will be another beta tomorrow or so to include at least one more fix (for Issue 16460) and we'll soon release 2.071.2. This is a good moment to double check whether all the deprecation warnings for your project caused by the import changes are

Re: DlangUI 0.9.0: Console backend added

2016-09-14 Thread Vadim Lopatin via Digitalmars-d-announce
On Tuesday, 13 September 2016 at 12:50:02 UTC, Rory McGuire wrote: Did you get my post about the keyboard thing? You can test it by running dub --single filename.d output looks like: kp: [27, 91, 49, 59, 50, 68] kp: [27, 91, 49, 59, 53, 68] kp: [27, 91, 49, 59, 51, 68] kp: [27, 91, 68] if I

Re: Beta D 2.071.2-b4

2016-09-14 Thread Rory McGuire via Digitalmars-d-announce
On Wed, Sep 14, 2016 at 9:30 AM, Ali Çehreli via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On 09/12/2016 12:47 AM, Martin Nowak wrote: > > > This comes with a different fix for Issue 15907 than 2.071.2-b3. > > Kisses and hugs! :) > > Ali > > +1, this is _way_ better.