Skip to content

Commit a453449

Browse files
author
cht
committed
only can be use in crate
1 parent b6fcd0e commit a453449

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/subscribe/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use super::utils;
44
use super::IFEXIT;
55
use crossterm::event::{self, Event, KeyCode};
66
use std::{env, io, process::Command};
7-
pub fn subscribe_state(app: &mut App) -> io::Result<IFEXIT> {
7+
pub(crate) fn subscribe_state(app: &mut App) -> io::Result<IFEXIT> {
88
if let Event::Key(key) = event::read()? {
99
match app.input_mode {
1010
InputMode::Normal => match key.code {

0 commit comments

Comments
 (0)