summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/ansicode.txt4
-rw-r--r--font/src/ft/fc/pattern.rs6
-rw-r--r--font/src/ft/mod.rs2
-rw-r--r--src/ansi.rs10
-rw-r--r--src/config.rs2
-rw-r--r--src/display.rs2
-rw-r--r--src/event_loop.rs2
-rw-r--r--src/selection.rs4
-rw-r--r--src/term/mod.rs8
-rw-r--r--src/tty.rs2
10 files changed, 21 insertions, 21 deletions
diff --git a/docs/ansicode.txt b/docs/ansicode.txt
index 8767b9e7..e2ec1aac 100644
--- a/docs/ansicode.txt
+++ b/docs/ansicode.txt
@@ -184,7 +184,7 @@ Oct Hex Name * (* marks function used in DEC VT series or LA series terminals)
230 98 X Reserved for for future standard
231 99 Y Reserved
232 9A Z * Reserved, but causes DEC terminals to respond with DA codes
-233 9B [ CSI * Control Sequence Introducer (described in a seperate table)
+233 9B [ CSI * Control Sequence Introducer (described in a separate table)
234 9C \ ST * String Terminator (VT125 exits graphics)
235 9D ] OSC Operating System Command (reprograms intelligent terminal)
236 9E ^ PM Privacy Message (password verification), terminated by ST
@@ -268,7 +268,7 @@ Oct Hex * (* marks function used in DEC VT series or LA series terminals)
073 3B ;
074 3C < * DECANSI - Switch from VT52 mode to VT100 mode
075 3D = * DECKPAM - Set keypad to applications mode (ESCape instead of digits)
-076 3E > * DECKPNM - Set keypad to numeric mode (digits intead of ESCape seq)
+076 3E > * DECKPNM - Set keypad to numeric mode (digits instead of ESCape seq)
077 3F ?
DCS Device Control Strings used by DEC terminals (ends with ST)
diff --git a/font/src/ft/fc/pattern.rs b/font/src/ft/fc/pattern.rs
index 88cf37be..592d3859 100644
--- a/font/src/ft/fc/pattern.rs
+++ b/font/src/ft/fc/pattern.rs
@@ -71,7 +71,7 @@ impl<'a> StringPropertyIter<'a> {
}
}
-/// Iterator over interger properties
+/// Iterator over integer properties
pub struct BooleanPropertyIter<'a> {
pattern: &'a PatternRef,
object: &'a [u8],
@@ -108,7 +108,7 @@ impl<'a> BooleanPropertyIter<'a> {
}
}
-/// Iterator over interger properties
+/// Iterator over integer properties
pub struct IntPropertyIter<'a> {
pattern: &'a PatternRef,
object: &'a [u8],
@@ -226,7 +226,7 @@ impl<'a> LcdFilterPropertyIter<'a> {
}
}
-/// Iterator over interger properties
+/// Iterator over integer properties
pub struct DoublePropertyIter<'a> {
pattern: &'a PatternRef,
object: &'a [u8],
diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs
index ce5cea62..6cd859e9 100644
--- a/font/src/ft/mod.rs
+++ b/font/src/ft/mod.rs
@@ -142,7 +142,7 @@ impl IntoFontconfigType for Weight {
}
impl FreeTypeRasterizer {
- /// Load a font face accoring to `FontDesc`
+ /// Load a font face according to `FontDesc`
fn get_face(&mut self, desc: &FontDesc, size: Size) -> Result<FontKey, Error> {
// Adjust for DPI
let size = Size::new(size.as_f32_pts() * self.device_pixel_ratio * 96. / 72.);
diff --git a/src/ansi.rs b/src/ansi.rs
index 0e12736d..76064f18 100644
--- a/src/ansi.rs
+++ b/src/ansi.rs
@@ -299,12 +299,12 @@ pub trait Handler {
/// DECKPAM - Set keypad to applications mode (ESCape instead of digits)
fn set_keypad_application_mode(&mut self) {}
- /// DECKPNM - Set keypad to numeric mode (digits intead of ESCape seq)
+ /// DECKPNM - Set keypad to numeric mode (digits instead of ESCape seq)
fn unset_keypad_application_mode(&mut self) {}
/// Set one of the graphic character sets, G0 to G3, as the active charset.
///
- /// 'Invoke' one of G0 to G3 in the GL area. Also refered to as shift in,
+ /// 'Invoke' one of G0 to G3 in the GL area. Also referred to as shift in,
/// shift out and locking shift depending on the set being activated
fn set_active_charset(&mut self, CharsetIndex) {}
@@ -1234,7 +1234,7 @@ pub mod C0 {
///
/// 0x80 (@), 0x81 (A), 0x82 (B), 0x83 (C) are reserved
/// 0x98 (X), 0x99 (Y) are reserved
-/// 0x9a (Z) is resezved, but causes DEC terminals to respond with DA codes
+/// 0x9a (Z) is 'reserved', but causes DEC terminals to respond with DA codes
#[allow(non_snake_case)]
pub mod C1 {
/// Reserved
@@ -1249,7 +1249,7 @@ pub mod C1 {
pub const IND: u8 = 0x84;
/// New line, moves done one line and to first column (CR+LF)
pub const NEL: u8 = 0x85;
- /// Start of Selected Area to be as charsent to auxiliary output device
+ /// Start of Selected Area to be sent to auxiliary output device
pub const SSA: u8 = 0x86;
/// End of Selected Area to be sent to auxiliary output device
pub const ESA: u8 = 0x87;
@@ -1291,7 +1291,7 @@ pub mod C1 {
pub const SGCI: u8 = 0x99;
/// DECID - Identify Terminal
pub const DECID: u8 = 0x9a;
- /// Control Sequence Introducer (described in a seperate table)
+ /// Control Sequence Introducer
pub const CSI: u8 = 0x9B;
/// String Terminator (VT125 exits graphics)
pub const ST: u8 = 0x9C;
diff --git a/src/config.rs b/src/config.rs
index 3f3b6942..768b5579 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -235,7 +235,7 @@ pub struct Config {
#[serde(default)]
custom_cursor_colors: bool,
- /// Should draw bold text with brighter colors intead of bold font
+ /// Should draw bold text with brighter colors instead of bold font
#[serde(default="true_bool")]
draw_bold_text_with_bright_colors: bool,
diff --git a/src/display.rs b/src/display.rs
index fc5a5d40..31576355 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -139,7 +139,7 @@ impl Display {
// Create the window where Alacritty will be displayed
let mut window = Window::new(&options.title)?;
- // get window properties for initializing the other subsytems
+ // get window properties for initializing the other subsystems
let size = window.inner_size_pixels()
.expect("glutin returns window size");
let dpr = window.hidpi_factor();
diff --git a/src/event_loop.rs b/src/event_loop.rs
index 5095f359..02b7a5e5 100644
--- a/src/event_loop.rs
+++ b/src/event_loop.rs
@@ -195,7 +195,7 @@ impl<Io> EventLoop<Io>
// Drain the channel
//
- // Returns a `DrainResult` indicating the result of receiving from the channe;
+ // Returns a `DrainResult` indicating the result of receiving from the channel
//
fn drain_recv_channel(&self, state: &mut State) -> DrainResult {
let mut received_item = false;
diff --git a/src/selection.rs b/src/selection.rs
index 714c84c4..1c31a452 100644
--- a/src/selection.rs
+++ b/src/selection.rs
@@ -47,7 +47,7 @@ pub enum Selection {
/// The region representing start and end of cursor movement
region: Region<Point>,
- /// When begining a semantic selection, the grid is searched around the
+ /// When beginning a semantic selection, the grid is searched around the
/// initial point to find semantic escapes, and this initial expansion
/// marks those points.
initial_expansion: Region<Point>
@@ -398,7 +398,7 @@ impl ToRange for Span {
///
/// There are comments on all of the tests describing the selection. Pictograms
/// are used to avoid ambiguity. Grid cells are represented by a [ ]. Only
-/// cells that are comletely covered are counted in a selection. Ends are
+/// cells that are completely covered are counted in a selection. Ends are
/// represented by `B` and `E` for begin and end, respectively. A selected cell
/// looks like [XX], [BX] (at the start), [XB] (at the end), [XE] (at the end),
/// and [EX] (at the start), or [BE] for a single cell. Partially selected cells
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.
diff --git a/src/tty.rs b/src/tty.rs
index ad55929d..1a7fd395 100644
--- a/src/tty.rs
+++ b/src/tty.rs
@@ -37,7 +37,7 @@ static mut PID: pid_t = 0;
///
/// Calling exit() in the SIGCHLD handler sometimes causes opengl to deadlock,
/// and the process hangs. Instead, this flag is set, and its status can be
-/// cheked via `process_should_exit`.
+/// checked via `process_should_exit`.
static mut SHOULD_EXIT: bool = false;
extern "C" fn sigchld(_a: c_int) {