mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Allow keys and send-keys to invisible panes, from saggy-kun at users dot
sf dot net.
This commit is contained in:
parent
61605c6883
commit
54782af616
3
window.c
3
window.c
@ -1051,9 +1051,6 @@ window_pane_key(struct window_pane *wp, struct session *sess, int key)
|
|||||||
{
|
{
|
||||||
struct window_pane *wp2;
|
struct window_pane *wp2;
|
||||||
|
|
||||||
if (!window_pane_visible(wp))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (wp->mode != NULL) {
|
if (wp->mode != NULL) {
|
||||||
if (wp->mode->key != NULL)
|
if (wp->mode->key != NULL)
|
||||||
wp->mode->key(wp, sess, key);
|
wp->mode->key(wp, sess, key);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user