fix col-length

master
Josha von Gizycki 5 years ago
parent 7ac88d2331
commit a25a12598a

@ -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")

Loading…
Cancel
Save