T22: Edit's Copy, Paste and Select All are Ely's text input actions, which Ely a2cb531 exports and the terminal handles too, so the menu reaches find and every field; Select All counts a space under a combining mark as a character; comments cut to one short line; the Ely pin moves to a2cb531; AGENTS.md says gpui draws a shot window only while macOS shows it
CI / platforms (windows-latest) (push) Failing after 7s
CI / macos (push) Failing after 8m50s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-15 10:15:53 -04:00
1 parent 5ee67bd406
commit 37220a72d4
11 files changed
+56 -39

No files matched your search

+6 -3
View File
@@ -6,7 +6,10 @@ use alacritty_terminal::{
term::{ClipboardType, TermMode},
vte::ansi::CursorShape,
};
use ely_gpui_component::theme::ActiveTheme;
use ely_gpui_component::{
forms::{Copy, Paste, SelectAll},
theme::ActiveTheme,
};
use futures::StreamExt;
use gpui::{
Bounds, Context, EventEmitter, FocusHandle, Focusable, Font, FontFeatures, FontId, FontStyle,
@@ -18,7 +21,7 @@ use super::{
find::Finder,
frame::frame,
ink::Ink,
input::{self, Copy, Find, Paste, SelectAll},
input::{self, Find},
mouse::MouseMode,
paint::{self, Look},
pointer::Pointer,
@@ -269,7 +272,7 @@ pub fn load_font(font: &Font, system: &TextSystem) -> anyhow::Result<FontId> {
Ok(id)
}
/// The font, cell and metrics the settings give at `points` and this window's scale.
/// Font, cell and metrics at `points` on this window.
fn look(settings: &Settings, points: f32, ink: &Ink, window: &Window) -> anyhow::Result<Look> {
let font = Font {
family: settings.font_family.clone().into(),