mirror of
https://github.com/zellij-org/zellij.git
synced 2024-12-18 14:41:46 +03:00
remove debug logs
This commit is contained in:
parent
588cdaa008
commit
715e5f9785
@ -129,12 +129,11 @@ pub fn start_server(
|
|||||||
match stream {
|
match stream {
|
||||||
Ok(mut stream) => {
|
Ok(mut stream) => {
|
||||||
let mut buffer = [0; 65535]; // TODO: more accurate
|
let mut buffer = [0; 65535]; // TODO: more accurate
|
||||||
let bytes = stream
|
let _ = stream
|
||||||
.read(&mut buffer)
|
.read(&mut buffer)
|
||||||
.expect("failed to parse ipc message");
|
.expect("failed to parse ipc message");
|
||||||
println!("{}\n\n", bytes);
|
|
||||||
let (mut err_ctx, decoded): (ErrorContext, ApiCommand) =
|
let (mut err_ctx, decoded): (ErrorContext, ApiCommand) =
|
||||||
bincode::deserialize(&buffer[0..bytes])
|
bincode::deserialize(&buffer)
|
||||||
.expect("failed to deserialize ipc message");
|
.expect("failed to deserialize ipc message");
|
||||||
err_ctx.add_call(ContextType::IPCServer);
|
err_ctx.add_call(ContextType::IPCServer);
|
||||||
send_pty_instructions.update(err_ctx);
|
send_pty_instructions.update(err_ctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user