mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
Share composer copy handling across keyboard and mouse input (#65107)
## What changed - Route keyboard and mouse copies of composer selections through the same plain-text copy helper. - Check composer visibility separately when completing clipboard work and canceling primary selection. Use the overlay input check when deciding whether to end a composer drag. - Convert external transcript links to view actions through the shared `ReaderLink` conversion. GitOrigin-RevId: 7285acfe6d8911da806adbba7da8b79393389b08
This commit is contained in:
@@ -440,7 +440,8 @@ impl TranscriptView {
|
||||
.iter()
|
||||
.find(|link| link.columns.contains(&column))?
|
||||
.interaction_destination()
|
||||
.map(ViewAction::OpenLink);
|
||||
.map(ReaderLink::External)
|
||||
.map(ViewAction::from);
|
||||
}
|
||||
let inside = self.area.contains(point);
|
||||
let dragging = self
|
||||
|
||||
Reference in New Issue
Block a user