diff options
Diffstat (limited to 'module/calp')
-rw-r--r-- | module/calp/html/view/search.scm | 2 | ||||
-rw-r--r-- | module/calp/server/server.scm | 1 | ||||
-rw-r--r-- | module/calp/terminal.scm | 4 |
3 files changed, 7 insertions, 0 deletions
diff --git a/module/calp/html/view/search.scm b/module/calp/html/view/search.scm index 7b991104..e400c1ba 100644 --- a/module/calp/html/view/search.scm +++ b/module/calp/html/view/search.scm @@ -31,6 +31,8 @@ (body (a (@ (href ("/today"))) ,(G_ "Show today")) (h2 ,(G_ "Search term")) + ;; TODO add blurb documenting available variables here, + ;; and link to full documentation page (form (pre (textarea (@ (name "q") (rows 5) (spellcheck false) (style "width:100%")) diff --git a/module/calp/server/server.scm b/module/calp/server/server.scm index f2d58337..04d33ba5 100644 --- a/module/calp/server/server.scm +++ b/module/calp/server/server.scm @@ -7,6 +7,7 @@ :export (start-server)) +;;; TODO Do I really want this hardcoded here? (define handler (make-make-routes)) ;; NOTE The default make-default-socket is broken for IPv6. diff --git a/module/calp/terminal.scm b/module/calp/terminal.scm index 04effd68..12609e17 100644 --- a/module/calp/terminal.scm +++ b/module/calp/terminal.scm @@ -290,6 +290,7 @@ ">"))) (newline)) +;;; TODO what is this view? (define-method (input (this <view>) char) (case char ((#\j #\J down) (unless (= (active-element this) (1- (page-length this))) @@ -300,6 +301,9 @@ ((#\g) (set! (active-element this) 0)) ((#\G) (set! (active-element this) (1- (page-length this)))) + ;; TODO Launch edit mode! + ;; TODO should edit mode be here? + ((#\e) 'NOOP) ((#\q) '(pop))) |