Add extended keys flag for foot terminal.

This commit is contained in:
nicm
2024-11-28 08:49:14 +00:00
parent d361f21065
commit 72cd0eac29
2 changed files with 6 additions and 0 deletions

View File

@@ -1592,6 +1592,8 @@ tty_keys_extended_device_attributes(struct tty *tty, const char *buf,
tty_default_features(features, "XTerm", 0);
else if (strncmp(tmp, "mintty ", 7) == 0)
tty_default_features(features, "mintty", 0);
else if (strncmp(tmp, "foot(", 5) == 0)
tty_default_features(features, "foot", 0);
log_debug("%s: received extended DA %.*s", c->name, (int)*size, buf);
free(c->term_type);