From 1defd39491849f55629b703671c568c1246d5a0f Mon Sep 17 00:00:00 2001 From: Henil <71698300+henil@users.noreply.github.com> Date: Thu, 10 Dec 2020 14:34:29 +0530 Subject: [PATCH] docs(spelling): teack -> track (#91) --- docs/ARCHITECTURE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 51133873..a54585ae 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -15,12 +15,12 @@ The TerminalPane has two main roles: ### Scroll (src/terminal_pane/scroll.rs) The Scroll holds the terminal buffer and is in charge of: - * Keeping teack of the viewport (which part of it we see) this can change when we scroll up/down + * Keeping track of the viewport (which part of it we see) this can change when we scroll up/down * Keeping track of the cursor position * Controlling line-wrapping ### Terminal Character (src/terminal_pane/terminal_character.rs) -The TerminalCharacter represents a single character in the pane. It holds the char itself on the one hand, and an internal `CharacterStyles` struct representing the styling of this character. +The `TerminalCharacter` represents a single character in the pane. It holds the char itself on the one hand, and an internal `CharacterStyles` struct representing the styling of this character. This struct derives the `Copy` trait for performance reasons, because it is moved around quite a bit (eg. when line wrapping). ### How a terminal emulator draws characters?