mirror of https://github.com/rm-dr/daisy
Fixed space key
parent
c2d3e613d4
commit
a1db2b6bb0
|
@ -95,7 +95,7 @@ cfg_if::cfg_if! {
|
||||||
match c {
|
match c {
|
||||||
'a'..='z' | 'A'..='Z' | '0'..='9'
|
'a'..='z' | 'A'..='Z' | '0'..='9'
|
||||||
|'!'|'@'|'#'|'$'|'%'|'^'|'&'|'*'|'('|')'
|
|'!'|'@'|'#'|'$'|'%'|'^'|'&'|'*'|'('|')'
|
||||||
|'?'|'~'|','|'.'|'['|']'
|
|'?'|'~'|','|'.'|'['|']'|' '
|
||||||
|'<'|'>'|'/'|'_'|'-'|':'|'|'|'='|'+'|';'
|
|'<'|'>'|'/'|'_'|'-'|':'|'|'|'='|'+'|';'
|
||||||
=> { unsafe { (*state).promptbuffer.add_char(c); } },
|
=> { unsafe { (*state).promptbuffer.add_char(c); } },
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ pub fn main() -> Result<(), std::io::Error> {
|
||||||
// Only process sane characters
|
// Only process sane characters
|
||||||
'a'..='z' | 'A'..='Z' | '0'..='9'
|
'a'..='z' | 'A'..='Z' | '0'..='9'
|
||||||
|'!'|'@'|'#'|'$'|'%'|'^'|'&'|'*'|'('|')'
|
|'!'|'@'|'#'|'$'|'%'|'^'|'&'|'*'|'('|')'
|
||||||
|'?'|'~'|','|'.'|'['|']'
|
|'?'|'~'|','|'.'|'['|']'|' '
|
||||||
|'<'|'>'|'/'|'_'|'-'|':'|'|'|'='|'+'|';'
|
|'<'|'>'|'/'|'_'|'-'|':'|'|'|'='|'+'|';'
|
||||||
=> { pb.add_char(*q); },
|
=> { pb.add_char(*q); },
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue