This question is about the display and displayln methods of the SFIToolkit added in Stata version 16.

According to the documentation, they are defined as:
display(s[, asis]) Output a string to the Stata Results window.
displayln(s[, asis]) Output a string to the Stata Results window and automatically add a line terminator at the end.
Yet when I use them I find that display actually does what displayln is declared to do, and displayln adds yet another empty line.

For example, the following code:

Code:
  SFIToolkit.display('A') 
  SFIToolkit.display('B')
  SFIToolkit.display('C')
  SFIToolkit.display('D')
  SFIToolkit.displayln('.')
  SFIToolkit.display('X')
  SFIToolkit.displayln('Y')
  SFIToolkit.display('Z')
  SFIToolkit.display('T')
  SFIToolkit.display('.')
Produces this output:
Code:
A
B
C
D
.

X
Y

Z
T
.
While my expectation is this:
Code:
ABCD.
XY
ZT.
How do I tell SFIToolkit to continue the output in the same line??

Thank you, Sergiy