Cleanup imports
This commit is contained in:
parent
e700953551
commit
d5bdd3baf9
|
@ -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]
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue