feat: Add streaming pipe support for async loading in.
This commit is contained in:
@@ -53,6 +53,7 @@ pub enum Action {
|
||||
RemoveItems(Vec<usize>),
|
||||
ProcessHookResponse(HookResponse),
|
||||
CloseMenu,
|
||||
StreamingDone,
|
||||
}
|
||||
|
||||
/// Broadcast from the menu loop to all subscribers
|
||||
@@ -81,6 +82,8 @@ pub struct ViewState {
|
||||
pub mode: Mode,
|
||||
pub selection_count: usize,
|
||||
pub multi_enabled: bool,
|
||||
/// True while stdin is still streaming items in.
|
||||
pub streaming: bool,
|
||||
/// Column headers for table mode. None when not in
|
||||
/// table mode.
|
||||
pub columns: Option<Vec<ColumnHeader>>,
|
||||
|
||||
Reference in New Issue
Block a user