mirror of
https://github.com/tmux/tmux.git
synced 2026-03-06 15:55:33 +00:00
Add support for the kitty graphics protocol
Kitty-capable terminals (kitty, ghostty, and others) can display inline images via APC escape sequences. Kitty's image support uses a passthrough model: APC sequences from programs running inside panes are relayed verbatim to the outer terminal with cursor positioning adjusted for the pane offset. The outer terminal handles all image rendering and therefore itself must be kitty-aware.
This commit is contained in:
10
configure.ac
10
configure.ac
@@ -471,6 +471,16 @@ if test "x$enable_sixel" = xyes; then
|
||||
fi
|
||||
AM_CONDITIONAL(ENABLE_SIXEL, [test "x$enable_sixel" = xyes])
|
||||
|
||||
# Enable kitty graphics protocol support.
|
||||
AC_ARG_ENABLE(
|
||||
kitty,
|
||||
AS_HELP_STRING(--enable-kitty, enable kitty terminal graphics protocol)
|
||||
)
|
||||
if test "x$enable_kitty" = xyes; then
|
||||
AC_DEFINE(ENABLE_KITTY)
|
||||
fi
|
||||
AM_CONDITIONAL(ENABLE_KITTY, [test "x$enable_kitty" = xyes])
|
||||
|
||||
# Check for b64_ntop. If we have b64_ntop, we assume b64_pton as well.
|
||||
AC_MSG_CHECKING(for b64_ntop)
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
||||
|
||||
Reference in New Issue
Block a user