• Synchro JSOM - get char at xy?

    From art@FATCATS to All on Tue Dec 8 18:38:02 2009
    Hi all, time to get this echo started I suppose...

    As far as I know, there are:

    console.pushxy()
    console.popxy()
    console.gotoxy()
    console.getxy()

    ... methods, however none of them can get the actual character?

    I.e., go to (5, 10), and see if the character "$" is there on the screen.

    Is this possible?

    Thanks & regards,
    +------------------------------+
    | Art % fatcats.poorcoding.com |
    +--------------- ----- -- -

    ---
    ■ Synchronet ■ fatcats bbs - http://fatcats.poorcoding.com
  • From Nightfox to art on Tue Dec 8 19:15:52 2009
    Re: Synchro JSOM - get char at xy?
    By: art to All on Tue Dec 08 2009 18:38:02

    As far as I know, there are:

    console.pushxy()
    console.popxy()
    console.gotoxy()
    console.getxy()

    ... methods, however none of them can get the actual character?

    I haven't tried doing that, but looking through the functions of the console object, I don't see anything there that will get a character from the screen.

    So unfortunately, the best way to do that might be to keep track of the characters yourself..

    Nightfox
  • From art@FATCATS to Nightfox on Wed Dec 9 08:44:58 2009
    Re: Synchro JSOM - get char at xy?
    By: Nightfox to art on Tue Dec 08 2009 19:15:52

    I haven't tried doing that, but looking through the functions of the console object, I don't see anything there that will get a character from the screen So unfortunately, the best way to do that might be to keep track of the characters yourself..

    Yes, I have been thinking overnight... probably the way to achieve this might be a two-dimensional of ROWxHEIGHT... almost like an off-screen buffer. Talk about a pain!

    Thanks for your 2 cents as always.

    Regs,
    +------------------------------+
    | Art % fatcats.poorcoding.com |
    +--------------- ----- -- -

    ---
    ■ Synchronet ■ fatcats bbs - http://fatcats.poorcoding.com
  • From Nightfox to art on Wed Dec 9 09:50:15 2009
    Re: Synchro JSOM - get char at xy?
    By: art to Nightfox on Wed Dec 09 2009 08:44:58

    Thanks for your 2 cents as always.

    You're welcome. :)

    Nightfox