T26: on Windows Ctrl-V pastes too, as in Windows Terminal, where shells take it so; on Linux it stays the program's
CI / platforms (ubuntu-24.04) (push) Successful in 1m7s
CI / platforms (windows-latest) (push) Successful in 1m39s
CI / macos (push) Successful in 11m40s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-15 19:24:02 -04:00
1 parent c316d271a2
commit 90a46257a3
6 files changed
+10 -5

No files matched your search

+4
View File
@@ -47,6 +47,10 @@ pub fn bind_keys(cx: &mut App) {
["tab", "shift-tab", "f6", "shift-f6"]
.map(|key| KeyBinding::new(key, NoAction, Some(CONTEXT))),
);
// Windows pastes on Ctrl-V too, as Windows Terminal does.
if cfg!(windows) {
cx.bind_keys([KeyBinding::new("ctrl-v", Paste, Some(CONTEXT))]);
}
}
impl TerminalView {