Skip to repository content23 lines · 408 B · rust
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T03:55:05.903Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
keyboard.rs
1use gpui::{PlatformKeyboardLayout, SharedString};
2
3#[derive(Clone)]
4pub(crate) struct LinuxKeyboardLayout {
5 name: SharedString,
6}
7
8impl PlatformKeyboardLayout for LinuxKeyboardLayout {
9 fn id(&self) -> &str {
10 &self.name
11 }
12
13 fn name(&self) -> &str {
14 &self.name
15 }
16}
17
18impl LinuxKeyboardLayout {
19 pub(crate) fn new(name: SharedString) -> Self {
20 Self { name }
21 }
22}
23