mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-05 01:39:33 +01:00
DBG: clear terminal on run
git-svn-id: trunk@30517 -
This commit is contained in:
parent
eabbbd37a1
commit
d134d8df91
@ -23,6 +23,7 @@ type
|
|||||||
public
|
public
|
||||||
{ public declarations }
|
{ public declarations }
|
||||||
procedure AddOutput(const AText: String);
|
procedure AddOutput(const AText: String);
|
||||||
|
procedure Clear;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
var
|
var
|
||||||
@ -53,6 +54,11 @@ begin
|
|||||||
Memo1.SelStart := length(Memo1.Text);
|
Memo1.SelStart := length(Memo1.Text);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TPseudoConsoleDlg.Clear;
|
||||||
|
begin
|
||||||
|
Memo1.Text := '';
|
||||||
|
end;
|
||||||
|
|
||||||
{$R *.lfm}
|
{$R *.lfm}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -895,6 +895,10 @@ begin
|
|||||||
then TAssemblerDlg(FDialogs[ddtAssembler]).SetLocation(nil, 0);
|
then TAssemblerDlg(FDialogs[ddtAssembler]).SetLocation(nil, 0);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
dsInit: begin
|
||||||
|
if FDialogs[ddtPseudoTerminal] <> nil then
|
||||||
|
TPseudoConsoleDlg(FDialogs[ddtPseudoTerminal]).Clear;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user