• Yes/No Bar question

    From Mauro Veiga@VERT/ABUTRE2 to DIGITAL MAN on Saturday, March 06, 2021 17:12:00
    Hello, Rob.

    When a user alternate many times right/left arrow on Yes/No Bar
    prompt (customized by me to Sim/Nao Bar) this character is shown
    repeatedly 컴컴컴컴컴컴컴컴컴컴커

    旼컴컴좔컴컴
    [?] Ler seu correio agora? [ [ [ [ [ [ Sim [Nao]?


    How i do fix it, if can be?

    My noyesbar and yesnobar source files uses Ctrl-A color codes.
    Exemple from noyesbar:

    if_equal
    print "[Nao] Sim "
    else
    print " Nao [Sim]"
    end_if



    ... * <- Tribble # <- Electrocuted tribble.
    ___ Blue Wave/DOS v2.30

    ---
    Synchronet Ninho do Abutre 2 BBS - Rio de Janeiro, Brazil
  • From Digital Man@VERT to Mauro Veiga on Saturday, March 06, 2021 13:15:03
    Re: Yes/No Bar question
    By: Mauro Veiga to DIGITAL MAN on Sat Mar 06 2021 05:12 pm

    Hello, Rob.

    When a user alternate many times right/left arrow on Yes/No Bar
    prompt (customized by me to Sim/Nao Bar) this character is shown
    repeatedly 컴컴컴컴컴컴컴컴컴컴커

    旼컴컴좔컴컴
    [?] Ler seu correio agora? [ [ [ [ [ [ Sim [Nao]?


    How i do fix it, if can be?

    My noyesbar and yesnobar source files uses Ctrl-A color codes.
    Exemple from noyesbar:

    if_equal
    print "[Nao] Sim "

    Your locale has more total letters than ("[No] Yes"), so add one more '\b' to this line to account for that:
    print "\b\b\b\b\b\b\b\b\b\1n\1h\1>"

    I think that'll solve that.
    --
    digital man

    This Is Spinal Tap quote #16:
    David St. Hubbins: I believe virtually everything I read...
    Norco, CA WX: 68.9F, 40.0% humidity, 5 mph ENE wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Mauro Veiga@VERT/ABUTRE2 to DIGITAL MAN on Sunday, March 07, 2021 11:28:00
    Quoting Digital Man to Mauro Veiga <=-

    Your locale has more total letters than ("[No] Yes"), so add one more
    '\b' to this line to account for that: print
    "\b\b\b\b\b\b\b\b\b\1n\1h\1>"
    I think that'll solve that.

    Yes, worked well. :-)

    Thanks, Rob.



    ... Avoid computer viruses - practice safe hex.
    ___ Blue Wave/DOS v2.30

    ---
    Synchronet Ninho do Abutre 2 BBS - Rio de Janeiro, Brazil