summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-03-21 01:40:47 +0000
committerGitHub <noreply@github.com>2020-03-21 01:40:47 +0000
commit47e63227d00b42dcfe7a4ac903e8ab79f3609f11 (patch)
tree4b2ef04cd50f85ff9842a9e9b8377023c7c4cf6f
parent8ff7246c3190924943202d1f427606289a6fe295 (diff)
Bump version to RC3v0.4.2-rc3
-rw-r--r--CHANGELOG.md2
-rw-r--r--Cargo.lock6
-rw-r--r--alacritty/Cargo.toml2
-rw-r--r--alacritty_terminal/Cargo.toml2
-rw-r--r--alacritty_terminal/src/term/mod.rs7
-rw-r--r--extra/alacritty.man2
-rw-r--r--extra/linux/io.alacritty.Alacritty.appdata.xml2
-rw-r--r--extra/linux/redhat/alacritty.spec2
-rw-r--r--extra/linux/snap/snapcraft.yaml2
-rw-r--r--extra/osx/Alacritty.app/Contents/Info.plist2
-rw-r--r--extra/windows/wix/alacritty.wxs2
11 files changed, 19 insertions, 12 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f91a5392..e15f8612 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## 0.4.2-rc2
+## 0.4.2-rc3
### Packaging
diff --git a/Cargo.lock b/Cargo.lock
index 14723464..dbd2cb9f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -15,9 +15,9 @@ dependencies = [
[[package]]
name = "alacritty"
-version = "0.4.2-rc2"
+version = "0.4.2-rc3"
dependencies = [
- "alacritty_terminal 0.4.2-rc2",
+ "alacritty_terminal 0.4.2-rc3",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"embed-resource 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -45,7 +45,7 @@ dependencies = [
[[package]]
name = "alacritty_terminal"
-version = "0.4.2-rc2"
+version = "0.4.2-rc3"
dependencies = [
"base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
"bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml
index 9a972605..b03a0e45 100644
--- a/alacritty/Cargo.toml
+++ b/alacritty/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "alacritty"
-version = "0.4.2-rc2"
+version = "0.4.2-rc3"
authors = ["Christian Duerr <contact@christianduerr.com>", "Joe Wilm <joe@jwilm.com>"]
license = "Apache-2.0"
description = "GPU-accelerated terminal emulator"
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml
index 152470ea..c7ad3acc 100644
--- a/alacritty_terminal/Cargo.toml
+++ b/alacritty_terminal/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "alacritty_terminal"
-version = "0.4.2-rc2"
+version = "0.4.2-rc3"
authors = ["Christian Duerr <contact@christianduerr.com>", "Joe Wilm <joe@jwilm.com>"]
license = "Apache-2.0"
description = "Library for writing terminal emulators"
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs
index ac5e56b5..7fbd8dc8 100644
--- a/alacritty_terminal/src/term/mod.rs
+++ b/alacritty_terminal/src/term/mod.rs
@@ -231,6 +231,13 @@ impl<'a, C> RenderableCellsIter<'a, C> {
(Column(0), num_cols - 1)
};
+ // Do not render completely offscreen selection
+ let viewport_start = grid.display_offset();
+ let viewport_end = viewport_start + grid.num_lines().0;
+ if span.end.line >= viewport_end || span.start.line < viewport_start {
+ return None;
+ }
+
// Get on-screen lines of the selection's locations
let mut start = grid.clamp_buffer_to_visible(span.start);
let mut end = grid.clamp_buffer_to_visible(span.end);
diff --git a/extra/alacritty.man b/extra/alacritty.man
index 97c55b1c..62513665 100644
--- a/extra/alacritty.man
+++ b/extra/alacritty.man
@@ -1,4 +1,4 @@
-.TH ALACRITTY "1" "August 2018" "alacritty 0.4.2-rc2" "User Commands"
+.TH ALACRITTY "1" "August 2018" "alacritty 0.4.2-rc3" "User Commands"
.SH NAME
alacritty \- a cross-platform, gpu-accelerated terminal emulator
.SH "SYNOPSIS"
diff --git a/extra/linux/io.alacritty.Alacritty.appdata.xml b/extra/linux/io.alacritty.Alacritty.appdata.xml
index f6e3b1b5..47b86ba2 100644
--- a/extra/linux/io.alacritty.Alacritty.appdata.xml
+++ b/extra/linux/io.alacritty.Alacritty.appdata.xml
@@ -28,7 +28,7 @@ However, it does allow configuration of many aspects of the terminal.</p>
<url type="homepage">https://github.com/alacritty/alacritty</url>
<url type="bugtracker">https://github.com/alacritty/alacritty/issues</url>
<releases>
- <release version="0.4.2-rc2" date="2019-06-16" unix_timestamp="1560694196"/>
+ <release version="0.4.2-rc3" date="2019-06-16" unix_timestamp="1560694196"/>
</releases>
<update_contact>https://github.com/alacritty/alacritty/blob/master/CONTRIBUTING.md#contact</update_contact>
<developer_name>Joe Wilm</developer_name>
diff --git a/extra/linux/redhat/alacritty.spec b/extra/linux/redhat/alacritty.spec
index 5ff84041..d5d174c9 100644
--- a/extra/linux/redhat/alacritty.spec
+++ b/extra/linux/redhat/alacritty.spec
@@ -1,5 +1,5 @@
Name: alacritty
-Version: 0.4.2-rc2
+Version: 0.4.2-rc3
Release: 1%{?dist}
Summary: A cross-platform, GPU enhanced terminal emulator
License: ASL 2.0
diff --git a/extra/linux/snap/snapcraft.yaml b/extra/linux/snap/snapcraft.yaml
index 62524505..6633730e 100644
--- a/extra/linux/snap/snapcraft.yaml
+++ b/extra/linux/snap/snapcraft.yaml
@@ -1,5 +1,5 @@
name: alacritty
-version: '0.4.2-rc2'
+version: '0.4.2-rc3'
summary: Modern, GPU accelerated terminal emulator
description: |
Alacritty is a terminal emulator with a strong focus on simplicity and
diff --git a/extra/osx/Alacritty.app/Contents/Info.plist b/extra/osx/Alacritty.app/Contents/Info.plist
index 7b091138..b0cf49ee 100644
--- a/extra/osx/Alacritty.app/Contents/Info.plist
+++ b/extra/osx/Alacritty.app/Contents/Info.plist
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.4.2-rc2</string>
+ <string>0.4.2-rc3</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
diff --git a/extra/windows/wix/alacritty.wxs b/extra/windows/wix/alacritty.wxs
index 610a699f..1cab5d82 100644
--- a/extra/windows/wix/alacritty.wxs
+++ b/extra/windows/wix/alacritty.wxs
@@ -2,7 +2,7 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
- <Product Name="Alacritty" Id="*" UpgradeCode="87c21c74-dbd5-4584-89d5-46d9cd0c40a7" Language="1033" Codepage="1252" Version="0.4.2-rc2" Manufacturer="Alacritty">
+ <Product Name="Alacritty" Id="*" UpgradeCode="87c21c74-dbd5-4584-89d5-46d9cd0c40a7" Language="1033" Codepage="1252" Version="0.4.2-rc3" Manufacturer="Alacritty">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"/>
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed."/>
<Icon Id="AlacrittyIco" SourceFile="..\extra\windows\alacritty.ico"/>