diff options
author | Martin Lindhe <martin-commit@ubique.se> | 2017-10-30 16:03:58 +0100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-10-30 09:25:13 -0700 |
commit | 5b444375f22927c3661c331f3f37519940204bc0 (patch) | |
tree | 0079436834a54bd5e58e48e46a253f2a73890b6d /src/term/mod.rs | |
parent | f646f6c9f8b04d7c880920941eccce699fba6b04 (diff) | |
download | alacritty-5b444375f22927c3661c331f3f37519940204bc0.tar.gz alacritty-5b444375f22927c3661c331f3f37519940204bc0.zip |
fix some typos in comments
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r-- | src/term/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs index 59cf6baf..7324d401 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -559,7 +559,7 @@ impl VisualBell { self.intensity_at_instant(now) } - /// Get the currenty intensity of the visual bell. The bell's intensity + /// Get the currently intensity of the visual bell. The bell's intensity /// ramps down from 1.0 to 0.0 at a rate determined by the bell's duration. pub fn intensity(&self) -> f64 { self.intensity_at_instant(Instant::now()) @@ -650,7 +650,7 @@ pub struct Term { /// This is true after the last column is set with the input function. Any function that /// implicitly sets the line or column needs to set this to false to avoid wrapping twice. /// input_needs_wrap ensures that cursor.col is always valid for use into indexing into - /// arrays. Without it we wold have to sanitize cursor.col every time we used it. + /// arrays. Without it we would have to sanitize cursor.col every time we used it. input_needs_wrap: bool, /// Got a request to set title; it's buffered here until next draw. @@ -1474,13 +1474,13 @@ impl ansi::Handler for Term { /// LF/NL mode has some interesting history. According to ECMA-48 4th /// edition, in LINE FEED mode, /// - /// > The execution of the formator functions LINE FEED (LF), FORM FEED + /// > The execution of the formatter functions LINE FEED (LF), FORM FEED /// (FF), LINE TABULATION (VT) cause only movement of the active position in /// the direction of the line progression. /// /// In NEW LINE mode, /// - /// > The execution of the formator functions LINE FEED (LF), FORM FEED + /// > The execution of the formatter functions LINE FEED (LF), FORM FEED /// (FF), LINE TABULATION (VT) cause movement to the line home position on /// the following line, the following form, etc. In the case of LF this is /// referred to as the New Line (NL) option. |