From 5752e5c94f27eced137f4ca061c68715d8b7131a Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 10:56:51 -0300 Subject: mouse: a click on a tag, a pane's, a column's or the workspace's, puts its cursor there in normal mode, where it was insert mode (the user's): a letter is a command, `i` types where it was clicked, Enter or Tab runs the word under it; the guide, the cheatsheet and the changelog say so; the tests that clicked a tag and typed now type `i` (or `a` after a sweep) first, and an Esc that left insert mode goes; snap: nine scripts likewise, layout-close's golden now the Del its chord was meant to run (the click had typed ` dk` into the tag); a behavioural test, checked to fail with insert mode back Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/snapshots/ttyclick.snap | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/snapshots/ttyclick.snap') diff --git a/test/snapshots/ttyclick.snap b/test/snapshots/ttyclick.snap index c125a231..65b6f9fc 100644 --- a/test/snapshots/ttyclick.snap +++ b/test/snapshots/ttyclick.snap @@ -16,14 +16,12 @@ release left 10 5 stable 400 5000 snap tty-bodyclick # tag edit from tty: the box still reads `$` while the tag is typed into (the -# tag's mode is its own), and Esc then `:` hands the keyboard back — a bug +# tag's mode is its own: a clicked tag is in normal mode), and `:` hands the keyboard back — a bug # that lost the body's mode would show `•` in one snap or the other press left @Tty 3 release left @Tty 3 stable 400 5000 snap tty-tagedit -key esc -settle 100 key : stable 400 5000 snap tty-tagexit -- cgit v1.3