diff options
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index 1096d9f..4906e15 100644 --- a/src/screen.c +++ b/src/screen.c @@ -2798,6 +2798,14 @@ MakeWinMsgEv(char *str, struct win *win, int esc, int padlen, struct event *ev, numpad++; } break; + case 'x': + *p = 0; + if (!win) + sprintf(p, "--x--"); + else + sprintf(p, "%dx%d", win->w_width, win->w_height); + p += strlen(p) - 1; + break; case 'n': s++; /* FALLTHROUGH */ |