Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(recording): label space key for keyboard event capture

Richie McIlroy10df2dae1e8e
diff --git a/crates/recording/src/cursor.rs b/crates/recording/src/cursor.rs
index 7b5dd2189..c6ffaa63e 100644
--- a/crates/recording/src/cursor.rs
+++ b/crates/recording/src/cursor.rs
@@ -131,7 +131,7 @@ fn keycode_to_string(key: &device_query::Keycode) -> (String, String) {
Keycode::F11 => ("F11", "F11"),
Keycode::F12 => ("F12", "F12"),
Keycode::Escape => ("Escape", "Escape"),
- Keycode::Space => (" ", "Space"),
+ Keycode::Space => ("Space", "Space"),
Keycode::LControl => ("LControl", "LControl"),
Keycode::RControl => ("RControl", "RControl"),
Keycode::LShift => ("LShift", "LShift"),