diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-01-06 18:12:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-01-06 18:12:13 +0100 |
commit | 1a6284d1c9d2dcbe73c814846d27a78678946ba6 (patch) | |
tree | 1f9518edf2a818a42a39e548e3d3e980c12d599e | |
parent | defbe34045aefb6e8c08cd494a80f89f8713c851 (diff) |
icli: Support newlines in long_plugin_output
-rwxr-xr-x | bin/icli | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -463,11 +463,11 @@ sub display_x_verbose { 'Plugin Output', break_str($x->{'plugin_output'}, 19), ); - if (length($x->{'long_plugin_output'})) { + for my $line (split(qr{\\n}, $x->{'long_plugin_output'})) { printf( $format, q{}, - break_str($x->{'long_plugin_output'}, 19), + break_str($line, 19), ); } printf( |