Source file cmd_layout_scrolling.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
open! Oxbow_ipc
let command_term =
let open Cmdliner.Term.Syntax in
let+ scope = Ctl_cli.setting_scope_term in
Command.Layout (Select { layout = Scrolling; scope })
;;
let name = "scrolling"
let doc = "Switch to the scrolling layout"
let cmd, bind_cmd =
Ctl_cli.group_pair ~name ~doc ~default:command_term
@@ Cmd_layout_scrolling_select.(List.combine cmds bind_cmds)
@ [ Cmd_layout_scrolling_align.(cmd, bind_cmd)
; Cmd_layout_scrolling_default_width.(cmd, bind_cmd)
; Cmd_layout_scrolling_orientation.(cmd, bind_cmd)
]
;;