remove focus shortcut

pull/20/head
Takayuki Maeda 3 years ago
parent a3b9605f3d
commit 88e1113db4

@ -11,14 +11,6 @@ use crate::event::Key;
pub async fn handle_app(key: Key, app: &mut App) -> anyhow::Result<()> {
match key {
// Key::Char('d') => match app.focus_block {
// FocusBlock::Query => (),
// _ => app.focus_block = FocusBlock::DabataseList,
// },
// Key::Char('r') => match app.focus_block {
// FocusBlock::Query => (),
// _ => app.focus_block = FocusBlock::Table,
// },
Key::Ctrl('e') => app.focus_block = FocusBlock::Query,
Key::Esc if app.error.error.is_some() => {
app.error.error = None;

Loading…
Cancel
Save