Quantcast
Channel: All Open Tickets - Tera Term on OSDN
Viewing all articles
Browse latest Browse all 2128

CRLF in dispstr only does CR - Tera Term Ticket #34300 on OSDN

$
0
0

CRLF in dispstr only does CR

Eröffnet am: 2014-09-10 16:10

Letztes Update: 2014-09-10 16:10

Auswertung:(Anonym)Verantwortlicher:(Keine)
Priorität:5 - MittelMeilenstein:(Keine)
Typ:FehlerSchweregrad:5 - Mittel
Komponente:Tera Term MacroStatus:Offen
LösungKeine

Einzelheiten

It appears that the LF is being ignored when CRLF is being sent together in dispstr

Erroneous Test Code:

for x 1 3
    sprintf "Test %d"  x
    dispstr inputstr #13 #10
next

Results in the first 2 lines being overwritten and only the 3rd displayed:

Test 3

Workaround:

for x 1 8
    sprintf "Test %d"  x
    dispstr inputstr
    dispstr #13
    dispstr #10
next

Expected Results:

Test 1
Test 2
Test 3

Letzte Aktualisierung für dieses Ticket

2014-10-15 18:44 Aktualisiert von: None

Kommentar

This may be a related problem:

If you use:

dispstr #$0A #$0D '<some text>' pause <time>

then this text is sometimes not displayed before pausing.

It may should be #$0D #$0A instead, but I wonder whether it makes a difference.

It happens for 4.79 and 4.84.

Thanks.

Qiyao


Viewing all articles
Browse latest Browse all 2128