diff --git a/ksrpc-sockets/src/linuxX64Main/kotlin/TermiosUtil.linuxX64.kt b/ksrpc-sockets/src/linuxX64Main/kotlin/TermiosUtil.linuxX64.kt index 194df364..1f23b2e2 100644 --- a/ksrpc-sockets/src/linuxX64Main/kotlin/TermiosUtil.linuxX64.kt +++ b/ksrpc-sockets/src/linuxX64Main/kotlin/TermiosUtil.linuxX64.kt @@ -5,4 +5,4 @@ import platform.posix.termios actual fun termios.setICanon() { c_lflag = c_lflag and ICANON.inv().toUInt() -} \ No newline at end of file +} diff --git a/ksrpc-sockets/src/macosX64Main/kotlin/TermiosUtil.macosX64.kt b/ksrpc-sockets/src/macosX64Main/kotlin/TermiosUtil.macosX64.kt index da0c6c52..3c26480c 100644 --- a/ksrpc-sockets/src/macosX64Main/kotlin/TermiosUtil.macosX64.kt +++ b/ksrpc-sockets/src/macosX64Main/kotlin/TermiosUtil.macosX64.kt @@ -6,4 +6,3 @@ import platform.posix.termios actual fun termios.setICanon() { c_lflag = c_lflag and ICANON.inv().toULong() } - diff --git a/ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt b/ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt index b70953d2..e11589bf 100644 --- a/ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt +++ b/ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt @@ -27,7 +27,6 @@ import kotlinx.cinterop.memScoped import kotlinx.cinterop.pointed import kotlinx.cinterop.ptr import kotlinx.cinterop.sizeOf -import platform.posix.ICANON import platform.posix.STDIN_FILENO import platform.posix.TCSANOW import platform.posix.memcpy