Skip to content

Commit a1fd3d6

Browse files
committed
fix(session)!: Make PtyReplSession fields private
1 parent 22a230d commit a1fd3d6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/session.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ pub fn spawn_with_options(command: Command, options: Options) -> Result<PtySessi
273273
/// You have a prompt where a user inputs commands and the shell
274274
/// executes it and writes some output
275275
pub struct PtyReplSession {
276-
pub pty_session: PtySession,
277-
pub prompt: String,
278-
pub quit_command: Option<String>,
279-
pub echo_on: bool,
276+
pty_session: PtySession,
277+
prompt: String,
278+
quit_command: Option<String>,
279+
echo_on: bool,
280280
}
281281

282282
impl PtyReplSession {

0 commit comments

Comments
 (0)