Skip to content

Commit

Permalink
Console: allow "allow_eval" to work
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Jan 11, 2022
1 parent 91bd240 commit ecce472
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Synergy/Channel/Console.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ use Term::ANSIColor qw(colored);

with 'Synergy::Role::Channel';

has allow_eval => (
is => 'ro',
default => 0,
);

has color_scheme => (
is => 'ro',
isa => 'Str',
Expand Down Expand Up @@ -320,6 +325,7 @@ has _diagnostic_handler => (
hub => $self->hub,
channel => $self,
theme => $self->theme,
allow_eval => $self->allow_eval,
($self->color_scheme ? (color_scheme => $self->color_scheme) : ()),
});
},
Expand Down

0 comments on commit ecce472

Please sign in to comment.