1
0
Fork 0
forked from wry/wry

autocommit 2022-02-15 23:50:26 CET

This commit is contained in:
Julian Orth 2022-02-15 23:50:26 +01:00
parent 3591f6f4f9
commit 086f2f73f4
5 changed files with 43 additions and 30 deletions

View file

@ -128,7 +128,11 @@ impl Client {
}
pub fn spawn(&self, command: &Command) {
let env = command.env.iter().map(|(a, b)| (a.to_string(), b.to_string())).collect();
let env = command
.env
.iter()
.map(|(a, b)| (a.to_string(), b.to_string()))
.collect();
self.send(&ClientMessage::Run {
prog: &command.prog,
args: command.args.clone(),

View file

@ -1,9 +1,9 @@
#![feature(thread_local_const_init)]
use std::collections::HashMap;
use crate::keyboard::keymap::Keymap;
use crate::keyboard::ModifiedKeySym;
use bincode::{Decode, Encode};
use std::collections::HashMap;
#[macro_use]
mod macros;