diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-08-08 22:21:44 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-22 09:30:37 +0200 |
commit | b12dd9f9263f7c2cf2f91bc3f6f5549ee0165cb1 (patch) | |
tree | 4282bcf41ee7ecbaa96aaa4c03a438e5f00e97da /lib/marker/marker_test.go | |
parent | 16dbb9422120a2f229524f1cbee55f09e455b1d7 (diff) | |
download | aerc-b12dd9f9263f7c2cf2f91bc3f6f5549ee0165cb1.tar.gz |
mark: allow multiple visual selections
When entering visual selection mode, the current selection is deleted.
This patch extends the visual mode behavior to select multiple blocks of
messages.
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/marker/marker_test.go')
-rw-r--r-- | lib/marker/marker_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/marker/marker_test.go b/lib/marker/marker_test.go index 1611623e..df9eb2a3 100644 --- a/lib/marker/marker_test.go +++ b/lib/marker/marker_test.go @@ -90,7 +90,7 @@ func TestMarker_VisualMode(t *testing.T) { m, up := createMarker() // activate visual mode - m.ToggleVisualMark() + m.ToggleVisualMark(false) // marking should now fail silently because we're in visual mode m.Mark(1) |