Attempt to open rows and columns from CLI input
This commit is contained in:
parent
d719352152
commit
628558aa39
5 changed files with 91 additions and 32 deletions
|
@ -1,6 +1,7 @@
|
|||
pub use ipc_channel::ipc;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::path::PathBuf;
|
||||
use util::paths::PathLikeWithPosition;
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct IpcHandshake {
|
||||
|
@ -10,7 +11,11 @@ pub struct IpcHandshake {
|
|||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub enum CliRequest {
|
||||
Open { paths: Vec<PathBuf>, wait: bool },
|
||||
Open {
|
||||
// TODO kb old cli won't be able to communicate to new Zed with this change
|
||||
paths: Vec<PathLikeWithPosition<PathBuf>>,
|
||||
wait: bool,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue