Ticket #34300

Open Date: 2014-09-10 16:10

Last Update: 2014-09-10 16:10

CRLF in dispstr only does CR

Priority:5 - MediumMileStone:(None)
Type:BugsSeverity:5 - Medium
Component:Tera Term MacroStatus:Open


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	

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

Test 3


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

Expected Results:

Test 1
Test 2
Test 3

Attachment File

Attachment File ListNo attachments
Add New attachment
Add attachment filesPlease login to add new attachment

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


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.



Add Comment/Update #34300 (CRLF in dispstr only does CR)

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