|
Lines 494-503
Link Here
|
| 494 |
void update_output () { |
500 |
void update_output () { |
| 495 |
// read the output line from irw: |
501 |
// read the output line from irw: |
| 496 |
list<string> out = (list<string>)SCR::Read(.background.newout); |
502 |
list<string> out = (list<string>)SCR::Read(.background.newout); |
|
|
503 |
/* |
| 497 |
foreach (string line, out, { |
504 |
foreach (string line, out, { |
| 498 |
line = String::Replace (line, "\r", "\n"); |
505 |
line = String::Replace (line, "\r", "\n"); |
| 499 |
UI::ChangeWidget (`id(`log), `LastLine, line + "\n"); |
506 |
UI::ChangeWidget (`id(`log), `LastLine, line + "\n"); |
| 500 |
}); |
507 |
}); |
|
|
508 |
*/ |
| 509 |
UI::ChangeWidget (`id(`log), `LastLine, mergestring (out, "\n")+ "\n"); |
| 501 |
|
510 |
|
| 502 |
list<string> err = (list<string>) SCR::Read(.background.newerr); |
511 |
list<string> err = (list<string>) SCR::Read(.background.newerr); |
| 503 |
foreach (string line, err, { |
512 |
foreach (string line, err, { |