From: nicm Date: Thu, 7 Sep 2023 10:21:46 +0000 (+0000) Subject: Use DECSLRM and DECFRA on terminals pretending to be VT520 or VT525 as X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d28ab35e7e1883ccc9ec45f2373912ccb774a402;p=openbsd Use DECSLRM and DECFRA on terminals pretending to be VT520 or VT525 as well as VT420. --- diff --git a/usr.bin/tmux/tty-keys.c b/usr.bin/tmux/tty-keys.c index dc962db923a..63d9eca5908 100644 --- a/usr.bin/tmux/tty-keys.c +++ b/usr.bin/tmux/tty-keys.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-keys.c,v 1.169 2023/09/07 07:19:21 nicm Exp $ */ +/* $OpenBSD: tty-keys.c,v 1.170 2023/09/07 10:21:46 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1396,6 +1396,9 @@ tty_keys_device_attributes2(struct tty *tty, const char *buf, size_t len, /* Add terminal features. */ switch (p[0]) { case 41: /* VT420 */ + case 61: /* VT510 */ + case 64: /* VT520 */ + case 65: /* VT525 */ tty_add_features(features, "margins,rectfill", ","); break; case 'M': /* mintty */