fix some 0.16 translation regressions

This commit is contained in:
Mitchell Hashimoto
2026-07-22 08:04:27 -07:00
parent a77c706a18
commit b988efcfe5
9 changed files with 136 additions and 43 deletions

View File

@@ -785,12 +785,13 @@ typedef enum GHOSTTY_ENUM_TYPED {
GHOSTTY_TERMINAL_OPT_KITTY_IMAGE_MEDIUM_FILE = 16,
/**
* Enable or disable Kitty image loading via the temporary file medium.
* Enable Kitty image loading via the temporary file medium, restricted to
* the provided directory. The string data is copied into the terminal.
*
* A NULL value pointer is a no-op. Has no effect when Kitty graphics
* are disabled at build time.
* A NULL value pointer disables the temporary file medium. Has no effect
* when Kitty graphics are disabled at build time.
*
* Input type: bool*
* Input type: GhosttyString*
*/
GHOSTTY_TERMINAL_OPT_KITTY_IMAGE_MEDIUM_TEMP_FILE = 17,
@@ -1139,12 +1140,13 @@ typedef enum GHOSTTY_ENUM_TYPED {
GHOSTTY_TERMINAL_DATA_KITTY_IMAGE_MEDIUM_FILE = 27,
/**
* Whether the temporary file medium is enabled for Kitty image loading
* on the active screen.
* The directory allowed for Kitty image loading via the temporary file
* medium on the active screen. The string is empty when the medium is
* disabled.
*
* Returns GHOSTTY_NO_VALUE when Kitty graphics are disabled at build time.
*
* Output type: bool *
* Output type: GhosttyString *
*/
GHOSTTY_TERMINAL_DATA_KITTY_IMAGE_MEDIUM_TEMP_FILE = 28,