aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/display.rs')
-rw-r--r--alacritty/src/display.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/alacritty/src/display.rs b/alacritty/src/display.rs
index aabd2631..aca91e4e 100644
--- a/alacritty/src/display.rs
+++ b/alacritty/src/display.rs
@@ -219,7 +219,7 @@ impl Display {
// Update OpenGL projection.
renderer.resize(&size_info);
- // Call `clear` before showing the window, to make sure the surface is initialized.
+ // Clear screen.
let background_color = config.colors.primary.background;
renderer.with_api(&config, &size_info, |api| {
api.clear(background_color);
@@ -244,7 +244,7 @@ impl Display {
// Set window position.
//
- // TODO: replace `set_position` with `with_position` once available
+ // TODO: replace `set_position` with `with_position` once available.
// Upstream issue: https://github.com/rust-windowing/winit/issues/806.
if let Some(position) = config.window.position {
window.set_outer_position(PhysicalPosition::from((position.x, position.y)));
@@ -376,7 +376,7 @@ impl Display {
pty_size.height -= pty_size.cell_height * lines as f32;
}
- // Resize PTY.
+ // Resize pty.
pty_resize_handle.on_resize(&pty_size);
// Resize terminal.