Skip to content

Commit

Permalink
Merge branch 'obsd-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAdam committed Nov 28, 2024
2 parents f0c6853 + 72cd0ea commit 0549f87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tty-features.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,10 @@ tty_default_features(int *feat, const char *name, u_int version)
.features = TTY_FEATURES_BASE_MODERN_XTERM
",cstyle,extkeys,margins,usstyle,sync,osc7,hyperlinks"
},
{ .name = "foot",
.features = TTY_FEATURES_BASE_MODERN_XTERM
",cstyle,extkeys"
},
{ .name = "XTerm",
/*
* xterm also supports DECSLRM and DECFRA, but they can be
Expand Down
2 changes: 2 additions & 0 deletions tty-keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0549f87

Please sign in to comment.