mirror-ghostty/include/ghostty/vt
Mitchell Hashimoto 0e93fbfe76
libghostty: handle non-monotonic selection times in SelectionGesture
We expect monotonic time but since this is libghostty-exposed we need to 
be more careful about guarding what we accept. This also practically makes
it easier to integrate with various languages.

Compare the two instants first and treat backwards timestamps like any
other failed repeat. The next press becomes a fresh single-click anchor,
and a regression test covers the reset behavior.
2026-05-27 14:09:34 -07:00
..
key decbkm: expose DECBKM to libghostty-vt 2026-04-12 16:04:16 -05:00
mouse libghostty: add GHOSTTY_ENUM_TYPED and GHOSTTY_ENUM_MAX_VALUE to all C enums 2026-04-08 10:43:15 -07:00
allocator.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
build_info.h libghostty: add GHOSTTY_ENUM_TYPED and GHOSTTY_ENUM_MAX_VALUE to all C enums 2026-04-08 10:43:15 -07:00
color.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
device.h libghostty: add GHOSTTY_ENUM_TYPED and GHOSTTY_ENUM_MAX_VALUE to all C enums 2026-04-08 10:43:15 -07:00
focus.h libghostty: add GHOSTTY_ENUM_TYPED and GHOSTTY_ENUM_MAX_VALUE to all C enums 2026-04-08 10:43:15 -07:00
formatter.h libghostty: selection formatting 2026-05-24 14:01:35 -07:00
grid_ref.h libghostty: detach tracked grid refs on free 2026-05-24 14:13:26 -07:00
grid_ref_tracked.h libghostty: detach tracked grid refs on free 2026-05-24 14:13:26 -07:00
key.h example: rename some examples 2026-03-17 17:39:26 -07:00
kitty_graphics.h libghostty: add _get_multi to all _get APIs 2026-04-11 12:51:36 -07:00
modes.h core: implement backarrow key mode (DECBKM) - mode 67 2026-04-12 15:40:54 -05:00
mouse.h example: rename some examples 2026-03-17 17:39:26 -07:00
osc.h libghostty: add GHOSTTY_ENUM_TYPED and GHOSTTY_ENUM_MAX_VALUE to all C enums 2026-04-08 10:43:15 -07:00
paste.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
point.h libghostty: add GHOSTTY_ENUM_TYPED and GHOSTTY_ENUM_MAX_VALUE to all C enums 2026-04-08 10:43:15 -07:00
render.h libghostty: expose per-cell selection state 2026-05-24 20:24:16 -07:00
screen.h libghostty: add _get_multi to all _get APIs 2026-04-11 12:51:36 -07:00
selection.h libghostty: handle non-monotonic selection times in SelectionGesture 2026-05-27 14:09:34 -07:00
sgr.h libghostty: add GHOSTTY_ENUM_TYPED and GHOSTTY_ENUM_MAX_VALUE to all C enums 2026-04-08 10:43:15 -07:00
size_report.h libghostty: add GHOSTTY_ENUM_TYPED and GHOSTTY_ENUM_MAX_VALUE to all C enums 2026-04-08 10:43:15 -07:00
style.h libghostty: add GHOSTTY_ENUM_TYPED and GHOSTTY_ENUM_MAX_VALUE to all C enums 2026-04-08 10:43:15 -07:00
sys.h libghostty: add log callback configuration 2026-04-10 10:52:45 -07:00
terminal.h libghostty: detach tracked grid refs on free (#12795) 2026-05-24 14:21:58 -07:00
types.h libghostty: GhosttySelectionGestureEvent 2026-05-27 10:42:29 -07:00
wasm.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00