From d30f3dbd9d2f5ad1184f3d61cb1630f3447bd88c Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 8 Aug 2021 18:43:00 +0530 Subject: move utils to utils :p --- src/utils.ml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/utils.ml') diff --git a/src/utils.ml b/src/utils.ml index 833c972..59eac6c 100644 --- a/src/utils.ml +++ b/src/utils.ml @@ -29,3 +29,11 @@ let rot_right ls = List.(rev ls |> transpose) let rot_left ls = List.(transpose ls |> rev) let saturating_sub b a = if a < b then 0 else a - b + +let to_string c = String.make 1 c + +let space = to_string ' ' + +let axis = "┬" + +let axis_spc = "─" -- cgit v1.2.3