diff options
| author | denis <denismaximov98@gmail.com> | 2021-01-24 18:38:46 +0200 |
|---|---|---|
| committer | denis <denismaximov98@gmail.com> | 2021-01-24 18:38:46 +0200 |
| commit | b23ef332c7531b8e9bb202bd25e7f37fd157c22c (patch) | |
| tree | 2ad09a6173e8528a91c37609e00c59d9b8a0b04b /src | |
| parent | Merge branch 'main' into server-client (diff) | |
| download | sl0ppij-b23ef332c7531b8e9bb202bd25e7f37fd157c22c.tar.gz sl0ppij-b23ef332c7531b8e9bb202bd25e7f37fd157c22c.tar.xz sl0ppij-b23ef332c7531b8e9bb202bd25e7f37fd157c22c.zip | |
wip: restructing in progress, to prep for server-client
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/boundaries.rs (renamed from src/boundaries.rs) | 0 | ||||
| -rw-r--r-- | src/client/layout.rs (renamed from src/layout.rs) | 0 | ||||
| -rw-r--r-- | src/client/mod.rs | 9 | ||||
| -rw-r--r-- | src/client/panes/grid.rs (renamed from src/panes/grid.rs) | 0 | ||||
| -rw-r--r-- | src/client/panes/mod.rs (renamed from src/panes/mod.rs) | 0 | ||||
| -rw-r--r-- | src/client/panes/plugin_pane.rs (renamed from src/panes/plugin_pane.rs) | 0 | ||||
| -rw-r--r-- | src/client/panes/terminal_character.rs (renamed from src/panes/terminal_character.rs) | 0 | ||||
| -rw-r--r-- | src/client/panes/terminal_pane.rs (renamed from src/panes/terminal_pane.rs) | 0 | ||||
| -rw-r--r-- | src/client/tab.rs (renamed from src/tab.rs) | 0 | ||||
| -rw-r--r-- | src/common/command_is_executing.rs (renamed from src/command_is_executing.rs) | 0 | ||||
| -rw-r--r-- | src/common/errors.rs (renamed from src/errors.rs) | 0 | ||||
| -rw-r--r-- | src/common/input.rs (renamed from src/input.rs) | 0 | ||||
| -rw-r--r-- | src/common/ipc.rs (renamed from src/ipc.rs) | 0 | ||||
| -rw-r--r-- | src/common/mod.rs | 8 | ||||
| -rw-r--r-- | src/common/os_input_output.rs (renamed from src/os_input_output.rs) | 0 | ||||
| -rw-r--r-- | src/common/pty_bus.rs (renamed from src/pty_bus.rs) | 0 | ||||
| -rw-r--r-- | src/common/screen.rs (renamed from src/screen.rs) | 0 | ||||
| -rw-r--r-- | src/common/wasm_vm.rs (renamed from src/wasm_vm.rs) | 0 | ||||
| -rw-r--r-- | src/main.rs | 18 | ||||
| -rw-r--r-- | src/server/mod.rs | 5 |
20 files changed, 28 insertions, 12 deletions
diff --git a/src/boundaries.rs b/src/client/boundaries.rs index 498a3731..498a3731 100644 --- a/src/boundaries.rs +++ b/src/client/boundaries.rs diff --git a/src/layout.rs b/src/client/layout.rs index d09e7618..d09e7618 100644 --- a/src/layout.rs +++ b/src/client/layout.rs diff --git a/src/client/mod.rs b/src/client/mod.rs new file mode 100644 index 00000000..619ba375 --- /dev/null +++ b/src/client/mod.rs @@ -0,0 +1,9 @@ +pub mod boundaries; +pub mod layout; +pub mod tab; +pub mod panes; + + +pub fn start_client() { + +}
\ No newline at end of file diff --git a/src/panes/grid.rs b/src/client/panes/grid.rs index 062b5c3a..062b5c3a 100644 --- a/src/panes/grid.rs +++ b/src/client/panes/grid.rs diff --git a/src/panes/mod.rs b/src/client/panes/mod.rs index 4e7d6e80..4e7d6e80 100644 --- a/src/panes/mod.rs +++ b/src/client/panes/mod.rs diff --git a/src/panes/plugin_pane.rs b/src/client/panes/plugin_pane.rs index a93ff8c0..a93ff8c0 100644 --- a/src/panes/plugin_pane.rs +++ b/src/client/panes/plugin_pane.rs diff --git a/src/panes/terminal_character.rs b/src/client/panes/terminal_character.rs index 80c3162b..80c3162b 100644 --- a/src/panes/terminal_character.rs +++ b/src/client/panes/terminal_character.rs diff --git a/src/panes/terminal_pane.rs b/src/client/panes/terminal_pane.rs index 853ae064..853ae064 100644 --- a/src/panes/terminal_pane.rs +++ b/src/client/panes/terminal_pane.rs diff --git a/src/tab.rs b/src/client/tab.rs index 6c65958f..6c65958f 100644 --- a/src/tab.rs +++ b/src/client/tab.rs diff --git a/src/command_is_executing.rs b/src/common/command_is_executing.rs index 93c44eb6..93c44eb6 100644 --- a/src/command_is_executing.rs +++ b/src/common/command_is_executing.rs diff --git a/src/errors.rs b/src/common/errors.rs index cb483bbc..cb483bbc 100644 --- a/src/errors.rs +++ b/src/common/errors.rs diff --git a/src/input.rs b/src/common/input.rs index 3c5518f8..3c5518f8 100644 --- a/src/input.rs +++ b/src/common/input.rs diff --git a/src/ipc.rs b/src/common/ipc.rs index 0bfc0451..0bfc0451 100644 --- a/src/ipc.rs +++ b/src/common/ipc.rs diff --git a/src/common/mod.rs b/src/common/mod.rs new file mode 100644 index 00000000..7daeb94f --- /dev/null +++ b/src/common/mod.rs @@ -0,0 +1,8 @@ +pub mod input; +pub mod os_input_output; +pub mod pty_bus; +pub mod screen; +pub mod ipc; +pub mod wasm_vm; +pub mod command_is_executing; +pub mod errors;
\ No newline at end of file diff --git a/src/os_input_output.rs b/src/common/os_input_output.rs index 41ee3b3c..41ee3b3c 100644 --- a/src/os_input_output.rs +++ b/src/common/os_input_output.rs diff --git a/src/pty_bus.rs b/src/common/pty_bus.rs index ba5a608b..ba5a608b 100644 --- a/src/pty_bus.rs +++ b/src/common/pty_bus.rs diff --git a/src/screen.rs b/src/common/screen.rs index 7fb19b6c..7fb19b6c 100644 --- a/src/screen.rs +++ b/src/common/screen.rs diff --git a/src/wasm_vm.rs b/src/common/wasm_vm.rs index 97a1a587..97a1a587 100644 --- a/src/wasm_vm.rs +++ b/src/common/wasm_vm.rs diff --git a/src/main.rs b/src/main.rs index 3757dfc4..338da041 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,21 +1,15 @@ #[cfg(test)] mod tests; -mod boundaries; mod cli; -mod command_is_executing; -mod errors; -mod input; -mod ipc; -mod layout; -mod os_input_output; -mod panes; -mod pty_bus; -mod screen; -mod tab; mod utils; +mod common; +// TODO mod server; +mod client; + +use common::{input, pty_bus, os_input_output, screen, ipc, wasm_vm, command_is_executing, errors}; +use client::{tab, layout, boundaries, panes}; -mod wasm_vm; use std::io::Write; use std::os::unix::net::UnixStream; diff --git a/src/server/mod.rs b/src/server/mod.rs new file mode 100644 index 00000000..626b4e6b --- /dev/null +++ b/src/server/mod.rs @@ -0,0 +1,5 @@ +use super::super::common::{screen}; + +pub fn start_server() { + // TODO +}
\ No newline at end of file |
