Implemented listener management (start, stop, list) and database integration.

This commit is contained in:
Jakob Friedl
2025-05-09 12:04:14 +02:00
parent 4af5295a2b
commit 8528a3107c
9 changed files with 536 additions and 6 deletions

View File

@@ -1,11 +1,19 @@
import ./tui
import ./console
# Handle CTRL+C,
proc exit() {.noconv.} =
echo "Received CTRL+C. Type \"exit\" to close the application.\n"
proc main() =
# Initialize TUI
initUi()
# initUi()
setControlCHook(exit)
# Initialize prompt interface
initPrompt()
main()
#[
Start main function
]#
main()