WIP
This commit is contained in:
parent
3740c9d852
commit
2e2825ae98
3 changed files with 48 additions and 16 deletions
|
@ -48,12 +48,12 @@ pub struct AppState;
|
|||
|
||||
pub async fn handle_cli_connection(
|
||||
(mut requests, responses): (mpsc::Receiver<CliRequest>, IpcSender<CliResponse>),
|
||||
app_state: Arc<AppState>,
|
||||
mut cx: AsyncAppContext,
|
||||
_app_state: Arc<AppState>,
|
||||
mut _cx: AsyncAppContext,
|
||||
) {
|
||||
if let Some(request) = requests.next().await {
|
||||
match request {
|
||||
CliRequest::Open { paths, wait } => {
|
||||
CliRequest::Open { paths: _, wait: _ } => {
|
||||
// let mut caret_positions = HashMap::new();
|
||||
|
||||
// let paths = if paths.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue