eGUI Console Misbehaving

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

eGUI Console Misbehaving

ソリューションへジャンプ
888件の閲覧回数
wcc3
Contributor II

I send a string to the Console object and that works OK.

 

Then, I send a "\r\n" string to the Console object and the cursor doesn't go to the beginning of the next line.

 

Then, I send another string to the Console object and all heck breaks loose.

 

The second string ends up appended to the first one on the first line then the second string is displayed correctly on the second line.

 

It looks like this:

 

Test #0Test #1

Test #1_

 

The code that puts the strings "Test #0" and "Test #1" in looks like this:

 

void TextBoxWriteLine(D4D_CHAR*Str)

{

(void)D4D_CnslPutString((D4D_OBJECT_PTR)&MyScreen_Console,Str);

(void)D4D_CnslPutString((D4D_OBJECT_PTR)&MyScreen_Console,"\r\n");

}

 

What am I doing wrong here?

 

Will

ラベル(1)
0 件の賞賛
返信
1 解決策
737件の閲覧回数
wcc3
Contributor II

NVM.

 

Programmer error.

 

Will

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
738件の閲覧回数
wcc3
Contributor II

NVM.

 

Programmer error.

 

Will

0 件の賞賛
返信