Accept newline as separator for post-processing scripts in GUI. #615

This commit is contained in:
Alessandro Ranellucci 2012-08-22 21:27:49 +02:00
parent b35c41c1a3
commit d278998f11

View file

@ -551,7 +551,7 @@ END
full_width => 1,
height => 60,
serialize => sub { join '; ', @{$_[0]} },
deserialize => sub { [ split /\s*;\s*/, $_[0] ] },
deserialize => sub { [ split /\s*(?:;|\R)\s*/s, $_[0] ] },
default => [],
},