@@ -291,9 +291,19 @@ pub struct Cli {
291291 ) ]
292292 pub input_prompt : Option < String > ,
293293
294- /// Sets the input panel border type .
294+ /// Input bar position .
295295 ///
296- /// Available options are: `none`, `plain`, `rounded`, `thick`.
296+ /// Sets whether the input panel is shown at the top or bottom of the UI.
297+ #[ arg(
298+ long,
299+ value_enum,
300+ value_name = "INPUT_POSITION" ,
301+ verbatim_doc_comment,
302+ help_heading = "Input"
303+ ) ]
304+ pub input_position : Option < InputPosition > ,
305+
306+ /// Sets the input panel border type.
297307 #[ arg( long, value_enum, verbatim_doc_comment, help_heading = "Input" ) ]
298308 pub input_border : Option < BorderType > ,
299309
@@ -333,8 +343,6 @@ pub struct Cli {
333343 pub show_status_bar : bool ,
334344
335345 /// Sets the results panel border type.
336- ///
337- /// Available options are: `none`, `plain`, `rounded`, `thick`.
338346 #[ arg( long, value_enum, verbatim_doc_comment, help_heading = "UI" ) ]
339347 pub results_border : Option < BorderType > ,
340348
@@ -355,8 +363,6 @@ pub struct Cli {
355363 ///
356364 /// When a channel is specified: Overrides the layout/orientation defined in the channel prototype.
357365 /// When no channel is specified: Sets the layout orientation for the ad-hoc channel.
358- ///
359- /// Options are "landscape" or "portrait".
360366 #[ arg( long, value_enum, verbatim_doc_comment, help_heading = "UI" ) ]
361367 pub layout : Option < LayoutOrientation > ,
362368
@@ -668,6 +674,12 @@ pub enum LayoutOrientation {
668674 Portrait ,
669675}
670676
677+ #[ derive( Debug , Clone , Copy , PartialEq , ValueEnum ) ]
678+ pub enum InputPosition {
679+ Top ,
680+ Bottom ,
681+ }
682+
671683#[ derive( Debug , Clone , Copy , PartialEq , ValueEnum ) ]
672684pub enum BorderType {
673685 None ,
0 commit comments