Summary
Several Ghostty FFI functions are declared in limux-ghostty-sys/src/lib.rs but never called. Some could improve limux behavior.
Unused FFI Functions
| Function |
Potential Use |
ghostty_app_free |
Proper cleanup on app exit (currently leaks) |
ghostty_app_set_focus |
Explicitly tell Ghostty when the app gains/loses focus (may fix edge cases with unfocused terminals still processing input) |
ghostty_surface_refresh |
Force a surface redraw without waiting for the next render cycle |
ghostty_surface_request_close |
Clean surface shutdown instead of just dropping the widget |
ghostty_surface_size |
Query actual surface dimensions (useful for control bridge introspection) |
Priority
Summary
Several Ghostty FFI functions are declared in
limux-ghostty-sys/src/lib.rsbut never called. Some could improve limux behavior.Unused FFI Functions
ghostty_app_freeghostty_app_set_focusghostty_surface_refreshghostty_surface_request_closeghostty_surface_sizePriority
ghostty_surface_request_closeandghostty_app_freeare the most impactful for correctnessghostty_surface_sizewould be useful for the pane/surface bridge commands (Expose pane/surface commands in control bridge #10)