Commit 74083e7
address Copilot review findings on PR #143
- Global Ctrl-Shift-` shortcut now reads the correct cookie name
(gearbox_active_box, not box_id) and wires eagerly on
DOMContentLoaded so it works before the user has opened the
console once.
- Add .console-search-bar.hidden and .console-paste-modal.hidden to
the .hidden specificity-override block; Tailwind's .hidden was
losing the cascade tie to our component display rules.
- Paste threshold now counts actual newline characters (>= 20)
rather than split('\n').length, removing the off-by-one and the
trailing-newline edge case. Visible "N lines" label reads
newlines + 1 to match how users count.
- Confirmed paste routes through term.paste(text) so xterm applies
its normal paste pipeline including bracketed-paste wrapping
(ESC[200~ ... ESC[201~) when the remote shell has DECSET 2004
enabled. Direct sendText was bypassing that.
- Drop dead CSS rules targeting .xterm-decoration.console-search-*.
The xterm-addon-search uses its own class names
(xterm-find-result-decoration / xterm-find-active-result-decoration)
and we already pass decorations.{activeMatchBackground,matchBackground}
options in JS, so the CSS was unreachable.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 656da21 commit 74083e7
2 files changed
Lines changed: 51 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
292 | 294 | | |
293 | 295 | | |
294 | 296 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | 297 | | |
299 | 298 | | |
300 | 299 | | |
| |||
358 | 357 | | |
359 | 358 | | |
360 | 359 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | 360 | | |
370 | 361 | | |
371 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
565 | | - | |
566 | | - | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
567 | 569 | | |
568 | | - | |
569 | | - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
570 | 573 | | |
571 | 574 | | |
572 | 575 | | |
| |||
589 | 592 | | |
590 | 593 | | |
591 | 594 | | |
592 | | - | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
593 | 603 | | |
594 | 604 | | |
595 | 605 | | |
| |||
605 | 615 | | |
606 | 616 | | |
607 | 617 | | |
608 | | - | |
609 | | - | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
610 | 625 | | |
611 | 626 | | |
612 | 627 | | |
613 | 628 | | |
614 | 629 | | |
615 | | - | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
616 | 633 | | |
617 | 634 | | |
618 | 635 | | |
| |||
628 | 645 | | |
629 | 646 | | |
630 | 647 | | |
631 | | - | |
632 | | - | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
633 | 654 | | |
| 655 | + | |
| 656 | + | |
634 | 657 | | |
635 | 658 | | |
636 | 659 | | |
637 | 660 | | |
638 | 661 | | |
639 | 662 | | |
640 | 663 | | |
641 | | - | |
| 664 | + | |
642 | 665 | | |
643 | 666 | | |
644 | 667 | | |
| |||
1094 | 1117 | | |
1095 | 1118 | | |
1096 | 1119 | | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1097 | 1133 | | |
1098 | 1134 | | |
1099 | 1135 | | |
| |||
0 commit comments