summaryrefslogtreecommitdiff
path: root/src/options.ml
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-08-08 13:08:33 +0100
committerAkshay <[email protected]>2021-08-08 13:08:33 +0100
commitc9e8dff919c49a13bff601e78cc1e78a7cc8f506 (patch)
treeb9015effe9dc995b083658b12b0de17d61230364 /src/options.ml
parented2a97502cb825877562c05881da4fb2e8eecad6 (diff)
dump
Diffstat (limited to 'src/options.ml')
-rw-r--r--src/options.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/options.ml b/src/options.ml
new file mode 100644
index 0000000..a57c28b
--- /dev/null
+++ b/src/options.ml
@@ -0,0 +1,8 @@
1type t = { height: int; ascii: bool; marker: Marker.t}
2let default =
3 { height = 14
4 ; ascii = false
5 ; marker = Marker.Point
6 }
7let with_height v c = { c with height = v; }
8let with_marker v c = { c with marker = v; }