File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,11 +26,12 @@ public static partial class Program
2626 private const string EnableBracketedPasteSequence = "\u001b [?2004h" ;
2727 private const string DisableBracketedPasteSequence = "\u001b [?2004l" ;
2828 private const string DisableWheelScrollingSequence = "\u001b [?1007l" ;
29- // Normal button tracking (?1000h) plus SGR extended coordinates (?1006h): reports
30- // clicks and wheel events with row/column so we can hit-test the conversation. This
31- // captures the mouse, so native drag-select needs Shift+drag (or Reader View / Copy
32- // mode) -- an accepted trade-off for click-to-toggle.
33- private const string EnableMouseTrackingSequence = "\u001b [?1000h\u001b [?1006h" ;
29+ // Any-event tracking (?1003h) plus SGR extended coordinates (?1006h): reports
30+ // clicks, hover/motion, and wheel events with row/column so selection modals can
31+ // follow the pointer in real time. This captures the mouse, so native drag-select
32+ // needs Shift+drag (or Reader View / Copy mode) -- an accepted trade-off for
33+ // richer in-app mouse interaction.
34+ private const string EnableMouseTrackingSequence = "\u001b [?1003h\u001b [?1006h" ;
3435 private const string DisableMouseTrackingSequence = "\u001b [?1000l\u001b [?1002l\u001b [?1003l\u001b [?1006l" ;
3536 private const int StdInputHandle = - 10 ;
3637 private const uint EnableVirtualTerminalInput = 0x0200 ;
You can’t perform that action at this time.
0 commit comments