summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2024-10-05Make the function/globe key available as a modifier on macOSMitchell Hashimoto
2024-10-02Add action on Zig sideRoland Peelen
2024-09-28rename slide to quick terminalMitchell Hashimoto
2024-09-27core: fix up toggle_slide_terminal action for rebaseMitchell Hashimoto
2024-09-27macos: fix previous/next tab bindings, improve action loggingMitchell Hashimoto
2024-09-27apprt/embedded: add the tab overview to the enumMitchell Hashimoto
2024-09-26libghostty: unified action dispatchMitchell Hashimoto
First, this commit modifies libghostty to use a single unified action dispatch system based on a tagged union versus the one-off callback system that was previously in place. This change simplifies the code on both the core and consumer sides of the library. Importantly, as we introduce new actions, we can now maintain ABI compatibility so long as our union size does not change (something I don't promise yet). Second, this moves a lot more of the functions call on a surface into the action system. This affects all apprts and continues the previous work of introducing a more unified API for optional surface features.
2024-09-24Tap events, core API to handle global keybindsMitchell Hashimoto
2024-09-23apprt/embedded: API for checking if there are global keybindsMitchell Hashimoto
2024-09-21apprt/macos,gtk: unfocused splits now highlight hovered linksMitchell Hashimoto
Fixes #1547 The core change to make this work is to make the cursor position callback support taking updated modifiers. On both macOS and GTK, cursor position events also provide the pressed modifiers so we can pass those in.
2024-09-19macos: enable secure input on password inputMitchell Hashimoto
2024-09-19core: add toggle_secure_input keybindingMitchell Hashimoto
2024-08-19macos: jump to last_tabEduardo Dominguez
2024-08-10macos: implement resize overlayMitchell Hashimoto
Implements the resize overlay configurations completely.
2024-07-20Fix build on Xcode 16Justin Su
2024-07-06macos: show URL on OSC8 hoverMitchell Hashimoto
2024-07-01macos: implement ctrl+command+d for quicklook under cursorMitchell Hashimoto
2024-06-30ctrl+click is handled as right-click (with various details)Mitchell Hashimoto
If mouse capturing is enabled, we encode ctrl+click as ctrl+left-click and DO NOT handle it as right click.
2024-06-30mouse button callbacks returns bool for consumptionMitchell Hashimoto
2024-06-29apprt: convert selection info to a single struct and C APIMitchell Hashimoto
2024-06-29macos: add API to get selection top-left for quicklookMitchell Hashimoto
2024-06-29macos: return valid selection rangeMitchell Hashimoto
2024-06-29macos: hacky API to get a CTFont for QuickLookMitchell Hashimoto
2024-06-29core: mouse pressure state and callbacksMitchell Hashimoto
2024-06-07macos: set background opacity/blur on window controller not surfaceMitchell Hashimoto
2024-06-02Allow keybinding arbitrary unicode codepoints (#1814)Mitchell Hashimoto
Fixes #1802 This allows `keybind` configurations to map to any Unicode codepoint. This enables keybindings for which we don't have a registered keycode or for custom keyboard firmwares that may produce arbitrary text (but the Ghostty support is limited to a single codepoint). The `keybind` syntax is unchanged. If a bound character doesn't map to a known logical key that Ghostty knows about, we map it to a Unicode codepoint. The unicode codepoint is compared against the _unshifted codepoint_ from the apprt key event. Note that this binding is to a single _codepoint_. We don't support arbitrary sequences of characters or multi-code point graphemes for keybindings due to the complexity in memory management that would introduce. This also provides a good fallback for scenarios where it might make sense to educate Ghostty about a key code or fix a bug in our keyboard input system, but the unicode data is correct. In that scenario, unicode key binds should allow key binds to still work while we investigate the input issues. Example: ``` shift+ö=text:hello ``` This now works as expected on a US hardware keyboard with the Hungarian keyboard layout.
2024-05-09update font_size to f32 in libghosttyQwerasd
2024-05-04renderer/metal: API to handle macOS display ID changingMitchell Hashimoto
2024-05-04apprt/embedded: add draw now APIMitchell Hashimoto
2024-03-27macos,libghostty: font size is a u8Mitchell Hashimoto
2024-02-12apprt/embedded: add occlusion state callbackMitchell Hashimoto
2024-02-02apprt/embedded: add API for reporting color schemeMitchell Hashimoto
2024-01-21Added plus `+` keyAurélien Cibrario
2024-01-21apprt/embedded: support asking for selection text, existenceMitchell Hashimoto
2024-01-18apprt/embedded: add iOS platform with uivewMitchell Hashimoto
2024-01-18apprt/embedded: fix initialization on macOSMitchell Hashimoto
2024-01-18apprt/embedded: compile for LinuxMitchell Hashimoto
2024-01-16Merge pull request #1316 from qwerasd205/macos-file-handlerMitchell Hashimoto
Added macOS file open handler
2024-01-16Added macOS file open handlerQwerasd
2024-01-16macos: detect renderer health failures and show error viewMitchell Hashimoto
2023-12-23apprt/embedded: ghostty_surface_pwdMitchell Hashimoto
2023-12-18fix callback struct ordering, use internal_os.openMitchell Hashimoto
2023-12-17Add settings shortcut on MacOSBorja Clemente
- Settings shortcut opens the config file in the default editor. Signed-off-by: Borja Clemente <borja.clemente@gmail.com>
2023-12-13include: add new keycodesMitchell Hashimoto
2023-11-15macos: implement desktop notificationsGregory Anders
2023-11-13macos: filter option in AppKit when option-as-alt setMitchell Hashimoto
Fixes #872 In #867 we fixed macos-option-as-alt, but unfortunately AppKit ALSO does some translation so some behaviors were not working correctly. Specifically, when you had macos-option-as-alt set, option+e would properly send `esc+e` to the pty but it would ALSO set the dead key state for "`" since AppKit was still translating the option key. This commit introduces a function to strip alt when necessary from the translation modifiers used at the AppKit layer, preventing this behavior.
2023-11-10core: use ClipboardRequestType instead of ClipboardPromptReasonGregory Anders
Instead of making a separate enum that must be translated from the ClipboardRequest type, simply re-use ClipboardRequest to determine the clipboard confirmation reason.
2023-11-10macos: add option to prompt user for confirmation on OSC 52 commandsGregory Anders
2023-11-10macos: handle preedit in AppKit, enables Korean inputMitchell Hashimoto
2023-11-07macos: add key binding for equalizing split sizesGregory Anders