Skip to content

Commit 8e508c5

Browse files
author
cht
committed
声明inputmod只有crate能使用
1 parent e7e80c6 commit 8e508c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/subscribe/appsub.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::state::IFEXIT;
66
use std::io;
77
use tui::widgets::ListState;
88
use tui::{backend::Backend, Terminal};
9-
pub enum InputMode {
9+
pub(crate) enum InputMode {
1010
Normal,
1111
Editing,
1212
Select,
@@ -20,7 +20,7 @@ pub struct AppSub {
2020
pub input: String,
2121
pub settings_input: Vec<String>,
2222
/// Current input mode
23-
pub input_mode: InputMode,
23+
pub(crate) input_mode: InputMode,
2424
/// History of recorded messages
2525
pub messages: Vec<String>,
2626
pub state: ListState,

0 commit comments

Comments
 (0)