Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pot-app/Selection
/ functions
Functions
12 in github.com/pot-app/Selection
⨍
Functions
12
◇
Types & classes
0
↓ 3 callers
Function
get_text_on_x11
()
src/linux.rs:33
↓ 1 callers
Function
copy
()
src/windows.rs:109
↓ 1 callers
Function
get_selected_text_by_ax
Copy from https://github.com/yetone/get-selected-text/blob/main/src/macos.rs
src/macos.rs:38
↓ 1 callers
Function
get_text_by_automation
Available for Edge, Chrome and UWP
src/windows.rs:40
↓ 1 callers
Function
get_text_by_clipboard
Available for almost all applications
src/windows.rs:64
↓ 1 callers
Function
get_text_by_clipboard
()
src/macos.rs:69
↓ 1 callers
Function
get_text_on_wayland
()
src/linux.rs:48
Function
get_text
Get the text selected by the cursor Return empty string if no text is selected or error occurred # Example ``` use selection::get_text; let text =
src/lib.rs:31
Function
get_text
()
src/linux.rs:10
Function
get_text
()
src/windows.rs:9
Function
get_text
()
src/macos.rs:7
Function
it_works
()
src/lib.rs:39