Fixed debug output
@@ -125,7 +125,7 @@ pub fn move_active_left() {
if let Ok(mut tree) = try_lock_tree() {
tree.move_active(None, Direction::Left)
.unwrap_or_else(|_| {
- warn!("Could not focus right");
+ warn!("Could not focus left");
})
}
}
@@ -134,7 +134,7 @@ pub fn move_active_right() {
if let Ok(mut tree) = try_lock_tree() {
tree.move_active(None, Direction::Right)
.unwrap_or_else(|_| {
- error!("Could not focus right");
+ warn!("Could not focus right");
})
}
}
@@ -143,7 +143,7 @@ pub fn move_active_up() {
if let Ok(mut tree) = try_lock_tree() {
tree.move_active(None, Direction::Up)
.unwrap_or_else(|_| {
- warn!("Could not focus right");
+ warn!("Could not focus up");
})
}
}
@@ -152,7 +152,7 @@ pub fn move_active_down() {
if let Ok(mut tree) = try_lock_tree() {
tree.move_active(None, Direction::Down)
.unwrap_or_else(|_| {
- warn!("Could not focus right");
+ warn!("Could not focus down");
})
}
}
