Skip to content

Commit

Permalink
Add TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jirutka committed Mar 9, 2022
1 parent c1e402d commit 5560253
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tty-copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ int main (int argc, char * const *argv) {
term_change_local_modes(tty_fd, ~(CREAD | ECHO | ICANON));
}

// TODO: refactor this spaghetti

int rc = EXIT_SUCCESS;
if (opts.op == OP_TEST) {
fputs("\0337", tty); // save current terminal state
Expand Down

0 comments on commit 5560253

Please sign in to comment.