fix search command

This commit is contained in:
poslop
2023-01-13 16:09:09 -06:00
parent dbc72c0fd4
commit 6fa6c31581
2 changed files with 3 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ pub fn cons_rw(sock: &TcpSock, input: &str) -> String {
Err(_) => break(),
};
}
output.clear();
writer.write((input.to_owned() + "\n").as_bytes()).unwrap();