T44d Web · Hidden demos keep still, wide ones scroll whole, pastes read the web's clipboard
This commit is contained in:
26 files changed
+211
-101
No files matched your search
@@ -90,7 +90,7 @@ pub(crate) fn printed(source: &str) -> (String, Vec<(Range<usize>, Pen)>) {
|
||||
(printed.text, printed.spans)
|
||||
}
|
||||
|
||||
/// Plain text sets no colors with OSC 4, 10 or 11.
|
||||
/// Plain text sets no colors through OSC 4, 10, 11.
|
||||
struct Unset;
|
||||
|
||||
impl Index<usize> for Unset {
|
||||
|
||||
@@ -93,7 +93,7 @@ impl Ink {
|
||||
}
|
||||
}
|
||||
|
||||
/// Colors a program set with OSC 4, 10 or 11, by index.
|
||||
/// Colors a program set through OSC 4, 10, 11.
|
||||
pub(crate) trait Set: Index<usize, Output = Option<Rgb>> {}
|
||||
|
||||
impl<T: Index<usize, Output = Option<Rgb>>> Set for T {}
|
||||
|
||||
Reference in new issue
Block a user