mirror-ghostty/include
Mitchell Hashimoto e8217aa007
macOS: firstRect should return full rect width/height
Fixes #2473

This commit changes `ghostty_surface_ime_point` to return a full rect
with the width/height calculated for the preedit.

The `firstRect` function, which calls `ghostty_surface_ime_point` was
previously setting the width/height to zero. macOS didn't like this. We
then changed it to just hardcode it to width/height of one cell. This
worked but made it so the IME cursor didn't follow the preedit.
2025-09-02 13:08:46 -07:00
..
ghostty.h macOS: firstRect should return full rect width/height 2025-09-02 13:08:46 -07:00
module.modulemap include: comment the modulemap 2023-02-19 10:44:53 -08:00