From 937c54054bfa602d5a7ea829045897f416f2a2b4 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 27 May 2026 11:15:03 -0700 Subject: [PATCH] update TODO --- TODO.md | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 332e8f6..2cab651 100644 --- a/TODO.md +++ b/TODO.md @@ -5,13 +5,58 @@ - [x] Key encoding (`key.h`, `key/encoder.h`, `key/event.h`) - [x] Mouse encoding (`mouse.h`, `mouse/encoder.h`, `mouse/event.h`) - [ ] OSC parser (`osc.h`) + - `ghostty_osc_new()` + - `ghostty_osc_free()` + - `ghostty_osc_reset()` + - `ghostty_osc_next()` + - `ghostty_osc_end()` + - `ghostty_osc_command_type()` + - `ghostty_osc_command_data()` - [ ] SGR parser (`sgr.h`) + - `ghostty_sgr_new()` + - `ghostty_sgr_free()` + - `ghostty_sgr_reset()` + - `ghostty_sgr_set_params()` + - `ghostty_sgr_next()` + - `ghostty_sgr_unknown_full()` + - `ghostty_sgr_unknown_partial()` + - `ghostty_sgr_attribute_tag()` + - `ghostty_sgr_attribute_value()` - [x] Paste utilities (`paste.h`) - [x] Focus encoding (`focus.h`) - [x] Kitty graphics (`kitty_graphics.h`) - [x] Allocator (`allocator.h` — `ghostty_alloc`, `ghostty_free`) -- [x] Selection APIs (`selection.h`) +- [x] Terminal selection helpers (`selection.h`) +- [ ] Selection gesture APIs (`selection.h`) + - `ghostty_selection_gesture_new()` + - `ghostty_selection_gesture_free()` + - `ghostty_selection_gesture_reset()` + - `ghostty_selection_gesture_event_new()` + - `ghostty_selection_gesture_event_free()` + - `ghostty_selection_gesture_event_set()` + - `ghostty_selection_gesture_event()` + - `ghostty_selection_gesture_get()` + - `ghostty_selection_gesture_get_multi()` - [x] Render-state row selection (`GHOSTTY_RENDER_STATE_ROW_DATA_SELECTION`) +- [x] Build info (`build_info.h`) + +## WASM-only Not Bound + +These APIs are guarded by `#ifdef __wasm__` upstream and are not available in the native cgo build. + +- [ ] WebAssembly allocation helpers (`wasm.h`) + - `ghostty_wasm_alloc_opaque()` + - `ghostty_wasm_free_opaque()` + - `ghostty_wasm_alloc_u8_array()` + - `ghostty_wasm_free_u8_array()` + - `ghostty_wasm_alloc_u16_array()` + - `ghostty_wasm_free_u16_array()` + - `ghostty_wasm_alloc_u8()` + - `ghostty_wasm_free_u8()` + - `ghostty_wasm_alloc_usize()` + - `ghostty_wasm_free_usize()` + - `ghostty_wasm_alloc_sgr_attribute()` (`sgr.h`) + - `ghostty_wasm_free_sgr_attribute()` (`sgr.h`) ## Partially Bound -- 2.51.2