tui: drag-select text in chat, copy via OSC 52 (+ /copy)
This commit is contained in:
1 parent
6f951ad7f8
commit
2c1d2a6c85
6 files changed
+390
-14
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user