|
|
@ -99,10 +99,10 @@
|
|
|
|
save-entries))
|
|
|
|
save-entries))
|
|
|
|
|
|
|
|
|
|
|
|
(defn col-length [entries col]
|
|
|
|
(defn col-length [entries col]
|
|
|
|
(or 0
|
|
|
|
(or (max ;(map (fn [entry]
|
|
|
|
(max ;(map (fn [entry]
|
|
|
|
|
|
|
|
(length (entry col)))
|
|
|
|
(length (entry col)))
|
|
|
|
entries))))
|
|
|
|
entries))
|
|
|
|
|
|
|
|
0))
|
|
|
|
|
|
|
|
|
|
|
|
(def vt100-codes
|
|
|
|
(def vt100-codes
|
|
|
|
{:underlined "\e[4m"
|
|
|
|
{:underlined "\e[4m"
|
|
|
@ -133,7 +133,8 @@
|
|
|
|
" "
|
|
|
|
" "
|
|
|
|
title (spaces (length title) len-title)
|
|
|
|
title (spaces (length title) len-title)
|
|
|
|
(vt100-codes :clear))
|
|
|
|
(vt100-codes :clear))
|
|
|
|
(set ix (inc ix)))))
|
|
|
|
(set ix (inc ix))))
|
|
|
|
|
|
|
|
(print))
|
|
|
|
|
|
|
|
|
|
|
|
(defn rm []
|
|
|
|
(defn rm []
|
|
|
|
(let [id (request-val "Id")
|
|
|
|
(let [id (request-val "Id")
|
|
|
|