summaryrefslogtreecommitdiff
path: root/test/snapshots
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 18:56:04 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commitab806dc38ddcd74958b999fe708ae9ea63609f72 (patch)
tree467711a8175956c5726a1181aa6e34de256597a0 /test/snapshots
parentc4ab29bce30f427decf3e199eebecfd415714a96 (diff)
downloadpardes-ab806dc38ddcd74958b999fe708ae9ea63609f72.tar.gz
pardes-ab806dc38ddcd74958b999fe708ae9ea63609f72.zip
A mouse sweep selects a stream, as acme's does, not a rectangle
A B1, B2 or B3 drag over several lines took the same columns from every row, a block. acme's sweep is a stream (libframe/frselect.c:115-140, frselectpaint; acme text.c:881, textselect): the first row from the press to its end, the rows between whole, the last from its start to the release. edit.sweepCols says which columns of a row a sweep takes; the captured spans, the text a sweep yields (copy, chords, B2 and B3 operands, a terminal's automatic yank) and the highlight all follow it, in bodies, multi-row tags, terminals and text-rendered PDFs; a row the sweep runs through is highlighted to the edge, and rows after the first leave out the line numbers. Native PDF selection was already MuPDF's stream. No pane keeps a rectangle. exec-bigdrag's golden changes: its middle sweep now runs whole lines. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots')
-rw-r--r--test/snapshots/exec-bigdrag.golden94
1 files changed, 47 insertions, 47 deletions
diff --git a/test/snapshots/exec-bigdrag.golden b/test/snapshots/exec-bigdrag.golden
index 87d3b9bb..c74fd8f9 100644
--- a/test/snapshots/exec-bigdrag.golden
+++ b/test/snapshots/exec-bigdrag.golden
@@ -2,60 +2,60 @@
|Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Exit
| New Tty Find Grep Joincol Delcol New Tty Find Grep Joincol Delcol
| /tmp/pardes-snap/exec-bigdrag/cwd Tty+bash Save Mode Filter Collapse Del /tmp/pardes-snap/exec-bigdrag/cwd Tty+bash Save Mode Filter Collapse Del
-| ls bash: line: command not found
-| big.txt 4line 2705line 2706line 2707line 2708line 2709line 2710line 2711line 2712line 2713line 2714lin
-| bash: 4line: command not found
-| 15line 2716line 2717line 2718line 2719line 2720line 2721line 2722line 2723line 2724line 2725li
-| bash: 15line: command not found
-| 726line 2727line 2728line 2729line 2730line 2731line 2732line 2733line 2734line 2735line 2736l
-| bash: 726line: command not found
-| 2737line 2738line 2739line 2740line 2741line 2742line 2743line 2744line 2745line 2746line 2747
-| bash: 2737line: command not found
-| 2748line 2749line 2750line 2751line 2752line 2753line 2754line 2755line 2756line 2757line 275
-| bash: 2748line: command not found
-| e 2759line 2760line 2761line 2762line 2763line 2764line 2765line 2766line 2767line 2768line 27
+| ls 2
+| big.txt bash: 91line: command not found
+| 802line 2803line 2804line 2805line 2806line 2807line 2808line 2809line 2810line 2811line 2812lin
+| e
+| bash: 802line: command not found
+| 2813line 2814line 2815line 2816line 2817line 2818line 2819line 2820line 2821line 2822line 2823li
+| ne
+| bash: 2813line: command not found
+| 2824line 2825line 2826line 2827line 2828line 2829line 2830line 2831line 2832line 2833line 2834l
+| in
+| bash: 2824line: command not found
+| e 2835line 2836line 2837line 2838line 2839line 2840line 2841line 2842line 2843line 2844line 2845
+| li
| bash: e: command not found
-| ne 2770line 2771line 2772line 2773line 2774line 2775line 2776line 2777line 2778line 2779line 2
+| ne 2846line 2847line 2848line 2849line 2850line 2851line 2852line 2853line 2854line 2855line 285
+| 6l
| bash: ne: command not found
-| ine 2781line 2782line 2783line 2784line 2785line 2786line 2787line 2788line 2789line 2790line
+| ine 2857line 2858line 2859line 2860line 2861line 2862line 2863line 2864line 2865line 2866line 28
+| 67
| bash: ine: command not found
-| line 2792line 2793line 2794line 2795line 2796line 2797line 2798line 2799line 2800line 2801line
+| line 2868line 2869line 2870line 2871line 2872line 2873line 2874line 2875line 2876line 2877line 2
+| 87
| bash: line: command not found
-| 2line 2803line 2804line 2805line 2806line 2807line 2808line 2809line 2810line 2811line 2812lin
-| bash: 2line: command not found
-| 13line 2814line 2815line 2816line 2817line 2818line 2819line 2820line 2821line 2822line 2823li
-| bash: 13line: command not found
-| 824line 2825line 2826line 2827line 2828line 2829line 2830line 2831line 2832line 2833line 2834l
-| bash: 824line: command not found
-| 2835line 2836line 2837line 2838line 2839line 2840line 2841line 2842line 2843line 2844line 2845
-| bash: 2835line: command not found
-| 2846line 2847line 2848line 2849line 2850line 2851line 2852line 2853line 2854line 2855line 285
-| bash: 2846line: command not found
-| /tmp/pardes-snap/exec-bigdrag/cwd Tty+bash Save Mode Filter Collapse Del e 2857line 2858line 2859line 2860line 2861line 2862line 2863line 2864line 2865line 2866line 28
-| ls bash: e: command not found
-| big.txt ne 2868line 2869line 2870line 2871line 2872line 2873line 2874line 2875line 2876line 2877line 2
-| bash: ne: command not found
-| ine 2879line 2880line 2881line 2882line 2883line 2884line 2885line 2886line 2887line 2888line
-| bash: ine: command not found
-| liecho alive-o''kne 2890line 2891line 2892line 2893line 2894line 2895line 2896line 2897line 2898li
-| bash: line: command not found
-| 0line 2901line 2902line 2903line 2904line 2905line 2906line 2907line 2908line 2909line 2910lin
-| bash: 0line: command not found
-| 11line 2912line 2913line 2914line 2915line 2916line 2917line 2918line 2919line 2920line 2921li
-| bash: 11line: command not found
-| 922line 2923line 2924line 2925line 2926line 2927line 2928line 2929line 2930line 2931line 2932l
-| bash: 922line: command not found
-| 2933line 2934line 2935line 2936line 2937line 2938line 2939line 2940line 2941line 2942line 2943
-| bash: 2933line: command not found
-| 2944line 2945line 2946line 2947line 2948line 2949line 2950line 2951line 2952line 2953line 295
-| bash: 2944line: command not found
-| e 2955line 2956line 2957line 2958line 2959line 2960line 2961line 2962line 2963line 2964line 29
+| 8line 2879line 2880line 2881line 2882line 2883line 2884line 2885line 2886line 2887line 2888line
+| 28
+| bash: 8line: command not found
+| 89line 2890line 2891line 2892line 2893line 2894line 2895line 2896line 2897line 2898line 2899line
+| 2
+| bash: 89line: command not found
+| /tmp/pardes-snap/exec-bigdrag/cwd Tty+bash Save Mode Filter Collapse Del 900line 2901line 2902line 2903line 2904line 2905line 2906line 2907line 2908line 2909line 2910lin
+| ls e
+| big.txt bash: 900line: command not found
+| 2911line 2912line 2913line 2914line 2915line 2916line 2917line 2918line 2919line 2920line 2921li
+| ne
+| bash: 2911line: command not found
+| 2echo alive-o''k922line 2923line 2924line 2925line 2926line 2927line 2928line 2929line 2930line 2
+| in
+| bash: 2922line: command not found
+| e 2933line 2934line 2935line 2936line 2937line 2938line 2939line 2940line 2941line 2942line 2943
+| li
| bash: e: command not found
-| ne 2966line 2967line 2968line 2969line 2970line 2971line 2972line 2973line 2974line 2975line 2
+| ne 2944line 2945line 2946line 2947line 2948line 2949line 2950line 2951line 2952line 2953line 295
+| 4l
| bash: ne: command not found
-| ine 2977line 2978line 2979line 2980line 2981line 2982line 2983line 2984line 2985line 2986line
+| ine 2955line 2956line 2957line 2958line 2959line 2960line 2961line 2962line 2963line 2964line 29
+| 65
| bash: ine: command not found
-| line 2988line 2989line 2990line 2991line 2992line 2993line 2994line 2995line 2996line 2997line
+| line 2966line 2967line 2968line 2969line 2970line 2971line 2972line 2973line 2974line 2975line 2
+| 97
| bash: line: command not found
+| 6line 2977line 2978line 2979line 2980line 2981line 2982line 2983line 2984line 2985line 2986line
+| 29
+| bash: 6line: command not found
+| 87line 2988line 2989line 2990line 2991line 2992line 2993line 2994line 2995line 2996line 2997line
+| bash: 87line: command not found
| echo alive-o''k
| alive-ok