You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct State {}
impl GameState for State {
fn tick(&mut self, ctx: &mut Rltk) {
if ctx.shift {
println!("SHIFT {:?}", ctx.key);
}
if ctx.alt {
println!("ALT {:?}", ctx.key);
}
}
}
With some previous 0.5 version it worked as expected, shift+key showed SHIFT and the key. With 0.5.15 I get "SHIFT Some(LShift)" and "SHIFT Some(RShift)", but no other key together with either shift print anything. If I instead press ALT+ some key, I get SHIFT and the key printed...
The ALT message comes with the ALT keys, but to get ALT + some key, I need to press CTRL and the key.
The text was updated successfully, but these errors were encountered:
I'm using rltk on Ubuntu-18.04LTS.
I use the following GameState with rltk:
With some previous 0.5 version it worked as expected, shift+key showed SHIFT and the key. With 0.5.15 I get "SHIFT Some(LShift)" and "SHIFT Some(RShift)", but no other key together with either shift print anything. If I instead press ALT+ some key, I get SHIFT and the key printed...
The ALT message comes with the ALT keys, but to get ALT + some key, I need to press CTRL and the key.
The text was updated successfully, but these errors were encountered: