Skip to content

[FEAT] Enable mouse interaction and clipboard copy in ConsoleMon debug output#723

Merged
gbin merged 4 commits into
masterfrom
yang/fix/mouse_consolemon
Jan 24, 2026
Merged

[FEAT] Enable mouse interaction and clipboard copy in ConsoleMon debug output#723
gbin merged 4 commits into
masterfrom
yang/fix/mouse_consolemon

Conversation

@makeecat

@makeecat makeecat commented Jan 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Added clipboard support and mouse capture to ConsoleMon, enabling in‑app mouse interactions (tabs, help actions, DAG scroll) and debug log selection/copy.
  • Reworked Debug Output rendering to track wrapped, multi‑line log entries and selection state per visible window area.
  • Introduced dependency: https://crates.io/crates/arboard

Related: PR #717 Issue #721

Details

  • components/monitors/cu_consolemon/Cargo.toml: add optional arboard dependency and wire into debug_pane feature.
  • components/monitors/cu_consolemon/src/debug_pane.rs: build wrapped debug lines based on panel width; update Debug Output panel to use wrapped lines and manage selection/area state.
  • components/monitors/cu_consolemon/src/lib.rs: enable mouse capture, add hitbox handling for tabs/ help bar, add mouse scroll for DAG, implement debug selection/copy and selection rendering helpers.
  • consolidate tabs and trim unused stats
  • simplify sysinfo readouts and env parsing

…nteraction (tabs, help actions, DAG scroll) and debug log selection/copy
@makeecat makeecat requested a review from gbin January 24, 2026 06:00
@makeecat makeecat self-assigned this Jan 24, 2026
@makeecat makeecat added the enhancement New feature or request label Jan 24, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5f9e4e5459

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread components/monitors/cu_consolemon/src/debug_pane.rs Outdated
and trim unused stats; simplify sysinfo readouts and env parsing
@gbin gbin merged commit 9989f23 into master Jan 24, 2026
23 checks passed
@gbin gbin deleted the yang/fix/mouse_consolemon branch January 24, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reenable the mouse in consolemon but with a selection on the debug logs that copies in the system clipboard

2 participants