From 6aeaa171dc1ca43392f53cbd02097f76e1b1c5a0 Mon Sep 17 00:00:00 2001 From: David Moc Date: Sun, 31 May 2026 03:47:04 +0200 Subject: Hardened API, tetris, MD-View --- include/app.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/app.h') diff --git a/include/app.h b/include/app.h index cb09b04..a420f00 100644 --- a/include/app.h +++ b/include/app.h @@ -46,8 +46,8 @@ typedef struct app { size_t prompt_input_len; /* - * File/path prompt completion state for find-file and write-file. - * prompt_completion_query stores the original typed path/query while + * Prompt completion state for path prompts and buffer prompts. + * prompt_completion_query stores the original typed query while * prompt_input is temporarily replaced with the selected candidate. */ int prompt_completion_active; @@ -75,6 +75,10 @@ typedef struct app { int current_mods; + buffer_t *mouse_capture_buffer; + int mouse_capture_button; + int mouse_capture_active; + /* * GLFW sends key events and text events separately. When a printable * key is consumed as part of a command sequence, suppress the matching -- cgit v1.2.3