Cleanup imports

This commit is contained in:
Emery Hemingway 2023-10-19 18:24:28 +01:00
parent e700953551
commit d5bdd3baf9
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
## An actor for filesystem monitoring.
import std/[asyncdispatch, asyncfile, os, sets, strutils, tables]
import std/[asyncdispatch, asyncfile, tables]
import posix, posix/inotify
import preserves
import syndicate, syndicate/[bags, relays]

View File

@ -101,11 +101,13 @@ method message*(dump: DumpEntity; turn: var Turn; ass: AssertionRef) =
stdout.writeLine($ass.value)
stdout.flushFile()
setControlCHook:
proc exit {.noconv.} =
illwillDeinit()
showCursor()
quit()
setControlCHook(exit)
proc main =
let
unix = unixSocketPath()