diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2022-11-28 19:53:04 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-09 14:33:59 +0100 |
commit | cbb36313bdb696cfe0874406327b24b403c9e8e0 (patch) | |
tree | a63bcdd4fce7fd92766374d44d5dcd452585641e /drivers/s390/char/raw3270.h | |
parent | s390/tty3270: move resize work to raw3270 (diff) | |
download | linux-cbb36313bdb696cfe0874406327b24b403c9e8e0.tar.xz linux-cbb36313bdb696cfe0874406327b24b403c9e8e0.zip |
s390/tty3270: resize terminal when the clear key is pressed
There's no easy way to figure out whether the user has re-connected
to the z/VM session. When the user re-connected with a different geometry
to z/VM, the screen layout is broken. Allow the user to force a resizing
by pressing the Clear Key.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/char/raw3270.h')
-rw-r--r-- | drivers/s390/char/raw3270.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/char/raw3270.h b/drivers/s390/char/raw3270.h index 66f9f8d0e121..05cd501478ee 100644 --- a/drivers/s390/char/raw3270.h +++ b/drivers/s390/char/raw3270.h @@ -182,6 +182,7 @@ struct raw3270_view *raw3270_view(struct raw3270_view *); int raw3270_view_active(struct raw3270_view *); int raw3270_start_request(struct raw3270_view *view, struct raw3270_request *rq, int cmd, void *data, size_t len); +void raw3270_read_modified_cb(struct raw3270_request *rq, void *data); /* Reference count inliner for view structures. */ static inline void |