mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
解决shell无法输入大写字母'P'的问题 (#404)
This commit is contained in:
@ -337,7 +337,7 @@ impl TypeOneFSMState {
|
||||
}
|
||||
_ => {
|
||||
if flag_make == false {
|
||||
//kdebug!("in type3 ch is {:#x}\n",ch);
|
||||
// kdebug!("in type3 ch is {:#x}\n",ch);
|
||||
key = KeyFlag::NoneFlag;
|
||||
}
|
||||
}
|
||||
@ -359,8 +359,8 @@ impl TypeOneFSMState {
|
||||
}
|
||||
|
||||
let ch = TYPE1_KEY_CODE_MAPTABLE[col as usize + 2 * index as usize];
|
||||
|
||||
if key != KeyFlag::NoneFlag {
|
||||
// kdebug!("EMIT: ch is '{}', keyflag is {:?}\n", ch as char, key);
|
||||
Self::emit(tty, ch);
|
||||
}
|
||||
return TypeOneFSMState::Start;
|
||||
|
Reference in New Issue
Block a user