Ticket #34300

Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

CRLF in dispstr only does CR

Open Date: 2014-09-10 16:10 Last Update: 2014-09-10 16:10

Reporter: (Anonymous) Owner: (None)
Type: Bugs Status: Open
Component: Tera Term Macro MileStone: (None)
Priority: 5 - Medium Severity: 5 - Medium
Resolution: None

Details

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

Attachment File List

No attachments

Ticket History (2/2 Histories)

2014-09-10 16:10 Updated by: None
  • New Ticket "CRLF in dispstr only does CR" created
2014-10-15 18:44 Updated by: None
Comment

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

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login