aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-05 09:35:08 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-05 09:35:08 -0500
commitb24d69d51b3567f75630bb1b3a6875dac6e1c647 (patch)
tree8d745dc862057287749d73e469bd096ccc27a1d8
parentcd1d70badb3a3614c0a084b96e784fcd53921ae6 (diff)
downloadvt100-rust-b24d69d51b3567f75630bb1b3a6875dac6e1c647.tar.gz
vt100-rust-b24d69d51b3567f75630bb1b3a6875dac6e1c647.zip
formatting
-rw-r--r--src/screen.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/screen.rs b/src/screen.rs
index 1d4eda0..63d7205 100644
--- a/src/screen.rs
+++ b/src/screen.rs
@@ -33,7 +33,8 @@ pub enum MouseProtocolMode {
// Highlight,
/// Mouse button events should be reported on button press and release, as
- /// well as when the mouse moves between cells while a button is held down.
+ /// well as when the mouse moves between cells while a button is held
+ /// down.
ButtonMotion,
/// Mouse button events should be reported on button press and release,
@@ -194,7 +195,8 @@ impl Screen {
/// Returns whether the italic text attribute is active.
///
- /// If true, text written to a new cell will have the italic text attribute.
+ /// If true, text written to a new cell will have the italic text
+ /// attribute.
pub fn italic(&self) -> bool {
self.attrs.italic()
}