Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add trace logging when we create an 'extra' event - for mouse clicks
Browse files Browse the repository at this point in the history
tznind committed Jan 1, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2a8dc6e commit 99bdd84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Terminal.Gui/ConsoleDrivers/V2/MouseInterpreter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#nullable enable

using Microsoft.Extensions.Logging;

namespace Terminal.Gui;

internal class MouseInterpreter
@@ -61,7 +63,7 @@ private MouseEventArgs RaiseClick (int button, int numberOfClicks, MouseEventArg
View = mouseEventArgs.View,
Position = mouseEventArgs.Position
};

Logging.Logger.LogTrace ($"Raising click event:{newClick.Flags}");
return newClick;
}

0 comments on commit 99bdd84

Please sign in to comment.