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 - Mittel | Meilenstein: | (Keine) |
| Typ: | Fehler | Schweregrad: | 5 - Mittel |
| Komponente: | Tera Term Macro | Status: | Offen |
| Lösung | Keine |
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
nextResults 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
nextExpected Results:
Test 1 Test 2 Test 3
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