kptui 0.14.0

TUI password manager for KeePass vaults
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod command;
pub mod edit;
pub mod index;
pub mod login;
pub mod settings;

use crossterm::event::KeyCode;

pub fn normalize_shortcut(key: KeyCode) -> KeyCode {
	match key {
		KeyCode::Char(c) => KeyCode::Char(c.to_ascii_lowercase()),
		other => other,
	}
}