repo_description: Run multiple commands in parallel
repo_topics: cli linux macos rust terminal tui windows
code: use std::fmt::Debug;
  
  use crate::{
    kernel::kernel_message::SharedVt,
    term::{key::Key, mouse::MouseEvent},
  };
  
  #[derive(Debug)]
  pub enum ProcMsg {
    SendKey(Key),
    SendMouse(MouseEvent),
  
    ScrollUp,
    ScrollDown,
    ScrollUpLines { n: usize },
    ScrollDownLines { n: usize },
  
    Resize { w: u16, h: u16 },
  }
  
  #[derive(Debug)]
  pub enum ProcEvent {
    Exited(u32),
    Started,
    SetVt(Option<SharedVt>),
  }
  