Bit more module tidy up
This commit is contained in:
parent
74b5479629
commit
0a17323bc4
3 changed files with 19 additions and 15 deletions
|
|
@ -1,11 +1,12 @@
|
|||
use crate::{
|
||||
common::thread_bus::SenderWithContext, pty::VteBytes, tab::Pane, wasm_vm::PluginInstruction,
|
||||
};
|
||||
|
||||
use crate::panes::{PaneId, PositionAndSize};
|
||||
|
||||
use std::sync::mpsc::channel;
|
||||
use std::time::Instant;
|
||||
use std::{sync::mpsc::channel, unimplemented};
|
||||
use std::unimplemented;
|
||||
|
||||
use crate::common::thread_bus::SenderWithContext;
|
||||
use crate::panes::{PaneId, PositionAndSize};
|
||||
use crate::pty::VteBytes;
|
||||
use crate::tab::Pane;
|
||||
use crate::wasm_vm::PluginInstruction;
|
||||
|
||||
pub struct PluginPane {
|
||||
pub pid: u32,
|
||||
|
|
|
|||
|
|
@ -1,15 +1,16 @@
|
|||
use crate::tab::Pane;
|
||||
use ::nix::pty::Winsize;
|
||||
use ::std::os::unix::io::RawFd;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::fmt::Debug;
|
||||
use std::os::unix::io::RawFd;
|
||||
use std::time::Instant;
|
||||
|
||||
use nix::pty::Winsize;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::panes::grid::Grid;
|
||||
use crate::panes::terminal_character::{
|
||||
CharacterStyles, TerminalCharacter, EMPTY_TERMINAL_CHARACTER,
|
||||
};
|
||||
use crate::pty::VteBytes;
|
||||
use crate::tab::Pane;
|
||||
|
||||
#[derive(PartialEq, Eq, Ord, PartialOrd, Hash, Clone, Copy, Debug, Serialize, Deserialize)]
|
||||
pub enum PaneId {
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
//! Error context system based on a thread-local representation of the call stack, itself based on
|
||||
//! the instructions that are sent between threads.
|
||||
|
||||
use super::{thread_bus::ASYNCOPENCALLS, thread_bus::OPENCALLS, ServerInstruction};
|
||||
use crate::client::ClientInstruction;
|
||||
use crate::pty::PtyInstruction;
|
||||
use crate::screen::ScreenInstruction;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use std::fmt::{Display, Error, Formatter};
|
||||
|
||||
use crate::server::ServerInstruction;
|
||||
use crate::common::thread_bus::{ASYNCOPENCALLS, OPENCALLS};
|
||||
use crate::client::ClientInstruction;
|
||||
use crate::pty::PtyInstruction;
|
||||
use crate::screen::ScreenInstruction;
|
||||
|
||||
/// The maximum amount of calls an [`ErrorContext`] will keep track
|
||||
/// of in its stack representation. This is a per-thread maximum.
|
||||
const MAX_THREAD_CALL_STACK: usize = 6;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue