diff options
Diffstat (limited to 'tests/test-vterm-copy-mode-cursor.el')
| -rw-r--r-- | tests/test-vterm-copy-mode-cursor.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test-vterm-copy-mode-cursor.el b/tests/test-vterm-copy-mode-cursor.el index 49625405..c549a44f 100644 --- a/tests/test-vterm-copy-mode-cursor.el +++ b/tests/test-vterm-copy-mode-cursor.el @@ -81,9 +81,10 @@ restore function -- not just the helper in isolation." (should-not (local-variable-p 'cursor-type)))) (ert-deftest test-vterm-copy-mode-cursor-end-to-end-via-copy-done () - "Normal: `vterm-copy-mode-done' (M-w / RET binding) toggles copy-mode -off and triggers cursor restoration. This is the path the user takes -most often -- copy and exit in one keystroke." + "Normal: `vterm-copy-mode-done' toggles copy-mode off and triggers cursor +restoration. No key is bound to it in this config (M-w copies and stays; +RET is unbound), but it stays reachable via \\[execute-extended-command] +and its exit path must still restore the cursor." (test-vterm-copy-mode-cursor--in-fake-vterm-buffer (setq-local cursor-type nil) (vterm-copy-mode 1) |
