omarchy-send/internal/tui
28allday 098c34c546 Clipboard send/copy, PIN for messages, and quiet stdlib logging
- Messages to a PIN-protected peer now prompt for the PIN and retry, like
  file sends (was a silent failure). SendMessage takes a pin argument and the
  TUI tracks whether a pending send is a message or files.
- Copy a received message to the clipboard with `y` (in the Messages tab or
  while reading one).
- Send the clipboard as a message with `v` on a device: it opens the compose
  box pre-filled with the clipboard text to review before sending.
- New internal/clipboard package shells out to wl-clipboard / xclip / xsel,
  and falls back to tmux's paste buffer when running inside tmux on a headless
  box (tmux load-buffer -w also reaches the outer clipboard via set-clipboard,
  which omaterm enables by default). No system tool -> "clipboard unavailable".
- Route the standard logger to the debug log (or discard) at startup so stray
  stdlib logging — e.g. net/http's "unsolicited response on idle channel"
  notice after a peer sends a late response — can't paint over the TUI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 22:06:24 +01:00
..
manage_test.go Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
model.go Clipboard send/copy, PIN for messages, and quiet stdlib logging 2026-05-27 22:06:24 +01:00
render_test.go Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
styles.go Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
view_manage.go Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
view_messages.go Send and read plain-text messages 2026-05-27 21:40:40 +01:00
view_peers.go Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00