1234567891011121314151617181920212223open!Oxbow_coreopen!Oxbow_ipcletcommand_termdir=letopenCmdliner.Term.Syntaxinlet+scope=Ctl_cli.setting_scope_terminCommand.Layout(Scrolling(Orientation{dir;scope}));;letorientation_targets:(string*string*Direction.Spatial.t)list=["left","The strip scrolls horizontally, with the head of the strip on the left",Left;("right","The strip scrolls horizontally, with the head of the strip on the right",Right);"up","The strip scrolls vertically, with the head of the strip on the top",Up;"down","The strip scrolls vertically, with the head of the strip on the bottom",Down];;letmk_leaf(name,doc,dir)=Ctl_cli.cmd_pair~name~doc@@command_termdirletname="orientation"letdoc="Set the orientation of the scrolling layout"letcmd,bind_cmd=Ctl_cli.group_pair~name~doc@@List.mapmk_leaforientation_targets