diff options
| author | Aram Drevekenin <aram@poor.dev> | 2020-11-01 11:42:18 +0100 |
|---|---|---|
| committer | Aram Drevekenin <aram@poor.dev> | 2020-11-01 11:42:18 +0100 |
| commit | ba2fd9f782d3d4f00588ea923ebce2dff40f9aaf (patch) | |
| tree | f858a5cb95c20dd8c8e0f7cf217d267b10766dc9 /src/tests/utils.rs | |
| parent | refactor(terminal-pane): simplify pending styles (diff) | |
| download | sl0ppij-ba2fd9f782d3d4f00588ea923ebce2dff40f9aaf.tar.gz sl0ppij-ba2fd9f782d3d4f00588ea923ebce2dff40f9aaf.tar.xz sl0ppij-ba2fd9f782d3d4f00588ea923ebce2dff40f9aaf.zip | |
refactor(structure): separate all the things
Diffstat (limited to 'src/tests/utils.rs')
| -rw-r--r-- | src/tests/utils.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/utils.rs b/src/tests/utils.rs index dd0c2409..1e76b31f 100644 --- a/src/tests/utils.rs +++ b/src/tests/utils.rs @@ -1,12 +1,12 @@ use ::nix::pty::Winsize; -use crate::TerminalOutput; +use crate::terminal_pane::TerminalPane; pub fn get_output_frame_snapshots(output_frames: &[Vec<u8>], win_size: &Winsize) -> Vec<String> { let mut vte_parser = vte::Parser::new(); let main_pid = 0; let x = 0; let y = 0; - let mut terminal_output = TerminalOutput::new(main_pid, *win_size, x, y); + let mut terminal_output = TerminalPane::new(main_pid, *win_size, x, y); let mut snapshots = vec![]; for frame in output_frames.iter() { |
