Skip to content

Commit

Permalink
FEAT: code reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Aug 5, 2023
1 parent 84ae960 commit 37145b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/os/posix/dev-stdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,8 @@ static void Close_StdIO_Local(void)
REBYTE c[4];
REBINT len;

evt.flags = 0;
evt.flags = 1 << EVF_HAS_CODE;
evt.model = EVM_CONSOLE;
SET_FLAG(evt.flags, EVF_HAS_CODE);

while (poll(&poller, 1, 0) > 0) {
if ( read(Std_Inp, &c, 1) > 0 ) {
Expand Down

0 comments on commit 37145b0

Please sign in to comment.