mirror of
https://github.com/nushell/reedline.git
synced 2024-09-11 15:55:50 +03:00
Make Event
public to allow implements custom EditMode
(#552)
This commit is contained in:
parent
35579194f7
commit
3c010ccd34
@ -1,5 +1,5 @@
|
|||||||
use crate::{enums::ReedlineEvent, PromptEditMode};
|
use crate::{enums::ReedlineEvent, PromptEditMode};
|
||||||
use crossterm::event::Event;
|
pub use crossterm::event::Event;
|
||||||
|
|
||||||
/// Define the style of parsing for the edit events
|
/// Define the style of parsing for the edit events
|
||||||
/// Available default options:
|
/// Available default options:
|
||||||
|
@ -4,7 +4,7 @@ mod emacs;
|
|||||||
mod keybindings;
|
mod keybindings;
|
||||||
mod vi;
|
mod vi;
|
||||||
|
|
||||||
pub use base::EditMode;
|
pub use base::{EditMode, Event};
|
||||||
pub use cursors::CursorConfig;
|
pub use cursors::CursorConfig;
|
||||||
pub use emacs::{default_emacs_keybindings, Emacs};
|
pub use emacs::{default_emacs_keybindings, Emacs};
|
||||||
pub use keybindings::Keybindings;
|
pub use keybindings::Keybindings;
|
||||||
|
@ -259,7 +259,7 @@ pub use prompt::{
|
|||||||
mod edit_mode;
|
mod edit_mode;
|
||||||
pub use edit_mode::{
|
pub use edit_mode::{
|
||||||
default_emacs_keybindings, default_vi_insert_keybindings, default_vi_normal_keybindings,
|
default_emacs_keybindings, default_vi_insert_keybindings, default_vi_normal_keybindings,
|
||||||
CursorConfig, EditMode, Emacs, Keybindings, Vi,
|
CursorConfig, EditMode, Emacs, Event, Keybindings, Vi,
|
||||||
};
|
};
|
||||||
|
|
||||||
mod highlighter;
|
mod highlighter;
|
||||||
|
Loading…
Reference in New Issue
Block a user