Add text selection and copy capability to terminal UI
This commit is contained in:
17
README.md
17
README.md
@@ -223,6 +223,23 @@ Then run:
|
||||
sudo ~/wireguard.sh load-clients
|
||||
```
|
||||
|
||||
## Text Selection & Copying
|
||||
|
||||
To copy client configurations or other text from the terminal UI:
|
||||
|
||||
### Text Selection
|
||||
- Hold **SHIFT key** while dragging your mouse with the left button
|
||||
- This bypasses TUI mouse handling and enables your terminal's native text selection
|
||||
- Then use your terminal's copy shortcut:
|
||||
- **Linux/WSL**: Ctrl+Shift+C (or terminal-specific shortcut)
|
||||
- **macOS**: Cmd+C
|
||||
- **Windows**: Click right (or use terminal copy)
|
||||
|
||||
### Copy Buttons (when available)
|
||||
- Some modals may have explicit copy buttons (e.g., "C" to copy config)
|
||||
- These work when clipboard API is available (native Linux, macOS, WSL)
|
||||
- Over SSH requires X11 forwarding (`ssh -X`) for clipboard access
|
||||
|
||||
## Client Setup
|
||||
|
||||
### Importing the config
|
||||
|
||||
Reference in New Issue
Block a user