save and restore current cursor position

This commit is contained in:
2026-01-17 15:01:33 +01:00
parent fd3952bedf
commit 24bd89a7be
4 changed files with 165 additions and 7 deletions

View File

@@ -84,7 +84,7 @@ Before running any test command, test-samurai runs `:wall` to save all buffers.
- After `TSamNearest`, `TSamFile`, `TSamAll`, `TSamFailedOnly`, etc., the UI opens in listing mode (only **Test-Listing-Float** visible).
- Press `<cr>` on a `[ FAIL ] ...` line in the listing to open/update the **Detail-Float** as a 20/80 split (left 20% listing, right 80% detail).
- ANSI color translation is only applied in the **Detail-Float**; the **Test-Listing-Float** shows raw text without ANSI translation.
- `<esc><esc>` hides the floating window; `TSamShowOutput` reopens it.
- `<esc><esc>` hides the floating window and restores the cursor position; `TSamShowOutput` reopens it.
- If no output is captured for a test, the **Detail-Float** shows `No output captured`.
- Summary lines (`TOTAL`/`DURATION`) are appended in the listing output, including `TSamLast`.