core: add toggle_secure_input keybinding

This commit is contained in:
Mitchell Hashimoto
2024-09-19 10:20:20 -07:00
parent 0c38f40f0a
commit c0e0eff468
6 changed files with 39 additions and 2 deletions

View File

@@ -464,6 +464,7 @@ typedef void (*ghostty_runtime_show_desktop_notification_cb)(void*,
typedef void (
*ghostty_runtime_update_renderer_health)(void*, ghostty_renderer_health_e);
typedef void (*ghostty_runtime_mouse_over_link_cb)(void*, const char*, size_t);
typedef void (*ghostty_runtime_toggle_secure_input_cb)();
typedef struct {
void* userdata;
@@ -494,6 +495,7 @@ typedef struct {
ghostty_runtime_show_desktop_notification_cb show_desktop_notification_cb;
ghostty_runtime_update_renderer_health update_renderer_health_cb;
ghostty_runtime_mouse_over_link_cb mouse_over_link_cb;
ghostty_runtime_toggle_secure_input_cb toggle_secure_input_cb;
} ghostty_runtime_config_s;
//-------------------------------------------------------------------