bugfixes text modifer elements

This commit is contained in:
Evan Almloff committed 2022-03-09 21:06:45 -06:00
1 parent a10e3ef949
commit 503b10d674
5 files changed
+226 -93

No files matched your search

+1 -1
View File
@@ -172,7 +172,7 @@ pub fn render_vdom(
match evt.as_ref().unwrap() {
InputEvent::UserInput(event) => match event {
TermEvent::Key(key) => {
if matches!(key.code, KeyCode::Char('c'))
if matches!(key.code, KeyCode::Char('C' | 'c'))
&& key.modifiers.contains(KeyModifiers::CONTROL)
{
break;