Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Gurrium committed Mar 17, 2023
1 parent 4e32bdd commit d38f642
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SwiftKilo/SwiftKilo.swift
Expand Up @@ -34,6 +34,7 @@ public class SwiftKilo {
tcgetattr(STDIN_FILENO, &origTermios)

var new = origTermios
new.c_iflag &= ~tcflag_t(IXON)
new.c_lflag &= ~tcflag_t(ECHO | ICANON | ISIG)

tcsetattr(STDIN_FILENO, TCSAFLUSH, &new)
Expand Down

0 comments on commit d38f642

Please sign in to comment.