mirror of
https://github.com/nushell/reedline.git
synced 2024-08-17 20:00:49 +03:00
add doc comment
This commit is contained in:
parent
da5b239e7a
commit
1f612dc313
@ -277,7 +277,8 @@ pub use validator::{DefaultValidator, ValidationResult, Validator};
|
||||
|
||||
mod menu;
|
||||
pub use menu::{
|
||||
menu_functions, ColumnarMenu, IdeMenu, DescriptionMode, ListMenu, Menu, MenuEvent, MenuTextStyle, ReedlineMenu,
|
||||
menu_functions, ColumnarMenu, DescriptionMode, IdeMenu, ListMenu, Menu, MenuEvent,
|
||||
MenuTextStyle, ReedlineMenu,
|
||||
};
|
||||
|
||||
mod terminal_extensions;
|
||||
|
@ -11,6 +11,7 @@ use nu_ansi_term::{ansi::RESET, Style};
|
||||
use unicode_segmentation::UnicodeSegmentation;
|
||||
use unicode_width::UnicodeWidthStr;
|
||||
|
||||
/// The direction of the description box
|
||||
pub enum DescriptionMode {
|
||||
/// Description is always shown on the left
|
||||
Left,
|
||||
|
@ -7,8 +7,8 @@ use crate::core_editor::Editor;
|
||||
use crate::History;
|
||||
use crate::{completion::history::HistoryCompleter, painting::Painter, Completer, Suggestion};
|
||||
pub use columnar_menu::ColumnarMenu;
|
||||
pub use ide_menu::IdeMenu;
|
||||
pub use ide_menu::DescriptionMode;
|
||||
pub use ide_menu::IdeMenu;
|
||||
pub use list_menu::ListMenu;
|
||||
use nu_ansi_term::{Color, Style};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user