diff options
author | Akshay <[email protected]> | 2021-08-08 13:08:33 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-08-08 13:08:33 +0100 |
commit | c9e8dff919c49a13bff601e78cc1e78a7cc8f506 (patch) | |
tree | b9015effe9dc995b083658b12b0de17d61230364 /src/options.ml | |
parent | ed2a97502cb825877562c05881da4fb2e8eecad6 (diff) |
dump
Diffstat (limited to 'src/options.ml')
-rw-r--r-- | src/options.ml | 8 |
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 @@ | |||
1 | type t = { height: int; ascii: bool; marker: Marker.t} | ||
2 | let default = | ||
3 | { height = 14 | ||
4 | ; ascii = false | ||
5 | ; marker = Marker.Point | ||
6 | } | ||
7 | let with_height v c = { c with height = v; } | ||
8 | let with_marker v c = { c with marker = v; } | ||