1 #!/usr/bin/guile --listen
4 (use-modules (ncurses curses)
8 (define app (make-tcp-server-socket #:port 37146))
12 (define-record-type <subeditor>
13 (make-subeditor main-display modeline contents)
15 (main-display subeditor-main set-subeditor-main!)
16 (modeline subeditor-modeline set-subeditor-modeline!)
17 (contents sub-editor-contents set-subeditor-contents!))
19 (define stdscr (initscr))
21 (define (__display-init)
31 (addstr stdscr "Hello world")
39 (stop-server-and-clients!)