mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Removed ctrl to 'Q'
This commit is contained in:
@@ -187,10 +187,8 @@ impl FileTransferActivity {
|
|||||||
}
|
}
|
||||||
KeyCode::Char(ch) => match ch {
|
KeyCode::Char(ch) => match ch {
|
||||||
'q' | 'Q' => {
|
'q' | 'Q' => {
|
||||||
if key.modifiers.intersects(KeyModifiers::CONTROL) {
|
// Create quit prompt dialog
|
||||||
// Create quit prompt dialog
|
self.input_mode = self.create_quit_popup();
|
||||||
self.input_mode = self.create_quit_popup();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
'g' | 'G' => {
|
'g' | 'G' => {
|
||||||
// Goto
|
// Goto
|
||||||
@@ -389,10 +387,8 @@ impl FileTransferActivity {
|
|||||||
}
|
}
|
||||||
KeyCode::Char(ch) => match ch {
|
KeyCode::Char(ch) => match ch {
|
||||||
'q' | 'Q' => {
|
'q' | 'Q' => {
|
||||||
if key.modifiers.intersects(KeyModifiers::CONTROL) {
|
// Create quit prompt dialog
|
||||||
// Create quit prompt dialog
|
self.input_mode = self.create_quit_popup();
|
||||||
self.input_mode = self.create_quit_popup();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
'g' | 'G' => {
|
'g' | 'G' => {
|
||||||
// Goto
|
// Goto
|
||||||
@@ -521,10 +517,8 @@ impl FileTransferActivity {
|
|||||||
}
|
}
|
||||||
KeyCode::Char(ch) => match ch {
|
KeyCode::Char(ch) => match ch {
|
||||||
'q' | 'Q' => {
|
'q' | 'Q' => {
|
||||||
if key.modifiers.intersects(KeyModifiers::CONTROL) {
|
// Create quit prompt dialog
|
||||||
// Create quit prompt dialog
|
self.input_mode = self.create_quit_popup();
|
||||||
self.input_mode = self.create_quit_popup();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
_ => { /* Nothing to do */ }
|
_ => { /* Nothing to do */ }
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user