;; External API

(import "util.lysp")
(import "message.lysp")

;; Bind the hooks
(import "render.lysp")
(red/bind-post-render-hook _red/root-post-render-hook)

;; Child modules
(import "keyboard.lysp")
(red/bind-key-hook _red/root-key-hook)

(import "command.lysp")
(import "highlight.lysp")

;; User configuration
(try-import "/etc/red/init.lysp")
(try-import (+ (fs/home-directory) "/.red.d/init.lysp"))

(_red/update-render-params)
