tui: drag-select text in chat, copy via OSC 52 (+ /copy)

This commit is contained in:
hermes committed 2026-10-06 12:02:51 +00:00
1 parent 6f951ad7f8
commit 2c1d2a6c85
6 files changed
+390 -14

No files matched your search

+4
View File
@@ -37,6 +37,10 @@ impl Scroll {
self.top = None;
}
}
/// First visible line as of the last draw.
pub fn top(&self) -> u16 {
self.cur()
}
pub fn half_page(&self) -> u16 {
(self.height / 2).max(1)
}