Add is_via_ssh field to edit events (#18867)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2024-10-08 13:13:40 -04:00 committed by GitHub
parent 3da1902e24
commit 77bf2ad0f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 17 additions and 7 deletions

View file

@ -1019,9 +1019,9 @@ impl InputHandler for TerminalInputHandler {
self.workspace
.update(cx, |this, cx| {
cx.invalidate_character_coordinates();
let telemetry = this.project().read(cx).client().telemetry().clone();
telemetry.log_edit_event("terminal");
let project = this.project().read(cx);
let telemetry = project.client().telemetry().clone();
telemetry.log_edit_event("terminal", project.is_via_ssh());
})
.ok();
}