Skip to content

Commit

Permalink
style(Tty): clean up useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Sep 24, 2023
1 parent 5bdd2ef commit 589ecca
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/tty/Tty.ml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ struct

(* helper functions *)

let vline attr height str =
I.vcat @@ List.init height (fun _ -> I.string attr str)

let column ~align images =
let maxby f xs = List.(fold_left max 0 (map f xs)) in
let width = maxby I.width images in
List.map (I.hsnap ~align width) images |> I.vcat

let hcat_with_pad ~pad l =
I.hcat @@ List.map (I.pad ~l:pad) l

Expand Down

0 comments on commit 589ecca

Please sign in to comment.