diff --git a/mystic/bbs_io.pas b/mystic/bbs_io.pas index 42d12cc..e3621c3 100644 --- a/mystic/bbs_io.pas +++ b/mystic/bbs_io.pas @@ -289,7 +289,9 @@ Var Code : String[2]; Begin If FmtString Then Begin + FmtString := False; + Case FmtType of 1 : Str := strPadR(Str, FmtLen + Length(Str) - Length(strStripPipe(Str)), ' '); 2 : Str := strPadL(Str, FmtLen + Length(Str) - Length(strStripPipe(Str)), ' '); @@ -404,6 +406,10 @@ Begin FmtString := True; FmtType := 1; End; + 'X' : Begin + FmtString := True; + FmtType := 17; + End; End; '&' : Case Code[2] of '1' : LastMCIValue := PromptInfo[1]; @@ -770,6 +776,13 @@ Begin FmtString := False; End; + 17: Begin + Inc (A); + FmtString := False; + + If Screen.CursorX < FmtLen Then + BufAddStr (strRep(Str[A], FmtLen - Screen.CursorX + 1)); + End; End; End; End Else @@ -1076,6 +1089,12 @@ Begin BaudEmulator := FmtLen; FmtString := False; End; + 17: Begin + FmtString := False; + + If Screen.CursorX < FmtLen Then + BufAddStr (strRep(GetChar, FmtLen - Screen.CursorX + 1)); + End; End; End; End;