diff --git a/src/lib.rs b/src/lib.rs index 6917f51..e8d4f7d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -95,7 +95,7 @@ cfg_if::cfg_if! { match c { 'a'..='z' | 'A'..='Z' | '0'..='9' |'!'|'@'|'#'|'$'|'%'|'^'|'&'|'*'|'('|')' - |'?'|'~'|','|'.'|'['|']' + |'?'|'~'|','|'.'|'['|']'|' ' |'<'|'>'|'/'|'_'|'-'|':'|'|'|'='|'+'|';' => { unsafe { (*state).promptbuffer.add_char(c); } }, diff --git a/src/main.rs b/src/main.rs index 94903de..5eb4fbd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -120,7 +120,7 @@ pub fn main() -> Result<(), std::io::Error> { // Only process sane characters 'a'..='z' | 'A'..='Z' | '0'..='9' |'!'|'@'|'#'|'$'|'%'|'^'|'&'|'*'|'('|')' - |'?'|'~'|','|'.'|'['|']' + |'?'|'~'|','|'.'|'['|']'|' ' |'<'|'>'|'/'|'_'|'-'|':'|'|'|'='|'+'|';' => { pb.add_char(*q); },