diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/9term/wind.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cmd/9term/wind.c b/src/cmd/9term/wind.c index 6f04595d..4cc9c207 100644 --- a/src/cmd/9term/wind.c +++ b/src/cmd/9term/wind.c @@ -667,6 +667,22 @@ wkeyctl(Window *w, Rune r) waddraw(w, &r, 1); return; } + if(r == Kcmd+'x'){ + wsnarf(w); + wcut(w); + wscrdraw(w); + return; + } + if(r == Kcmd+'c'){ + wsnarf(w); + return; + } + if(r == Kcmd+'v'){ + riogetsnarf(); + wpaste(w); + wscrdraw(w); + return; + } if(r != 0x7F){ wsnarf(w); wcut(w); |