This repository has no description
Something went wrong. Try again.
libghostty: add selection ordering APIs master
Expose selection endpoint ordering through the libghostty-vt C API so embedders can safely normalize selections whose start and end refs may be reversed. The new APIs report the current order and return a fresh untracked selection with forward or reverse bounds. Selection.Order now uses lib.Enum, matching the existing adjustment enum pattern and keeping the C ABI enum generated from the same Zig source of truth. The new functions are wired through the C API re-export and lib-vt export paths, with coverage for mirrored rectangular selection ordering.
Author Mitchell Hashimoto Date (May 23, 2026, 10:16 PM UTC) Commit 4a77e819 4a77e8196720088cbdce701c88412d3ba16089b5 Parent 15d89636 15d89636814ac0d8d0beb783da0dee6ba63f8f7c Change ID wymxtptv wymxtptvvkumyovoyuuxkpvxvsoxlqsn