aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--Cargo.lock4
-rw-r--r--alacritty/Cargo.toml4
-rw-r--r--alacritty/src/display/mod.rs12
-rw-r--r--alacritty/windows/wix/alacritty.wxs2
-rw-r--r--alacritty_terminal/CHANGELOG.md4
-rw-r--r--alacritty_terminal/Cargo.toml2
-rw-r--r--extra/osx/Alacritty.app/Contents/Info.plist2
8 files changed, 21 insertions, 13 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9c1c369f..9fe121d4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,7 +8,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
Notable changes to the `alacritty_terminal` crate are documented in its
[CHANGELOG](./alacritty_terminal/CHANGELOG.md).
-## 0.15.0-dev
+## 0.16.0-dev
+
+## 0.15.0
### Added
diff --git a/Cargo.lock b/Cargo.lock
index b7a2d9b8..74210710 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -32,7 +32,7 @@ dependencies = [
[[package]]
name = "alacritty"
-version = "0.15.0-dev"
+version = "0.16.0-dev"
dependencies = [
"ahash",
"alacritty_config",
@@ -93,7 +93,7 @@ dependencies = [
[[package]]
name = "alacritty_terminal"
-version = "0.24.2-dev"
+version = "0.24.3-dev"
dependencies = [
"base64",
"bitflags 2.6.0",
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml
index 6d05983a..c5251597 100644
--- a/alacritty/Cargo.toml
+++ b/alacritty/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "alacritty"
-version = "0.15.0-dev"
+version = "0.16.0-dev"
authors = ["Christian Duerr <contact@christianduerr.com>", "Joe Wilm <joe@jwilm.com>"]
license = "Apache-2.0"
description = "A fast, cross-platform, OpenGL terminal emulator"
@@ -12,7 +12,7 @@ rust-version = "1.74.0"
[dependencies.alacritty_terminal]
path = "../alacritty_terminal"
-version = "0.24.2-dev"
+version = "0.24.3-dev"
[dependencies.alacritty_config_derive]
path = "../alacritty_config_derive"
diff --git a/alacritty/src/display/mod.rs b/alacritty/src/display/mod.rs
index 4211da5f..6c685a2a 100644
--- a/alacritty/src/display/mod.rs
+++ b/alacritty/src/display/mod.rs
@@ -1349,6 +1349,8 @@ impl Display {
(&mut self.highlighted_hint, &mut self.highlighted_hint_age, true),
(&mut self.vi_highlighted_hint, &mut self.vi_highlighted_hint_age, false),
];
+
+ let num_lines = self.size_info.screen_lines();
for (hint, hint_age, reset_mouse) in hints {
let (start, end) = match hint {
Some(hint) => (*hint.bounds().start(), *hint.bounds().end()),
@@ -1362,10 +1364,12 @@ impl Display {
}
// Convert hint bounds to viewport coordinates.
- let start = term::point_to_viewport(display_offset, start).unwrap_or_default();
- let end = term::point_to_viewport(display_offset, end).unwrap_or_else(|| {
- Point::new(self.size_info.screen_lines() - 1, self.size_info.last_column())
- });
+ let start = term::point_to_viewport(display_offset, start)
+ .filter(|point| point.line < num_lines)
+ .unwrap_or_default();
+ let end = term::point_to_viewport(display_offset, end)
+ .filter(|point| point.line < num_lines)
+ .unwrap_or_else(|| Point::new(num_lines - 1, self.size_info.last_column()));
// Clear invalidated hints.
if frame.intersects(start, end) {
diff --git a/alacritty/windows/wix/alacritty.wxs b/alacritty/windows/wix/alacritty.wxs
index 5c05d821..bcf59cf5 100644
--- a/alacritty/windows/wix/alacritty.wxs
+++ b/alacritty/windows/wix/alacritty.wxs
@@ -1,5 +1,5 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
- <Package Name="Alacritty" UpgradeCode="87c21c74-dbd5-4584-89d5-46d9cd0c40a7" Language="1033" Codepage="1252" Version="0.15.0-dev" Manufacturer="Alacritty" InstallerVersion="200">
+ <Package Name="Alacritty" UpgradeCode="87c21c74-dbd5-4584-89d5-46d9cd0c40a7" Language="1033" Codepage="1252" Version="0.16.0-dev" Manufacturer="Alacritty" InstallerVersion="200">
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<Icon Id="AlacrittyIco" SourceFile=".\alacritty\windows\alacritty.ico" />
<WixVariable Id="WixUILicenseRtf" Value=".\alacritty\windows\wix\license.rtf" />
diff --git a/alacritty_terminal/CHANGELOG.md b/alacritty_terminal/CHANGELOG.md
index a6ee32b2..55c21d3f 100644
--- a/alacritty_terminal/CHANGELOG.md
+++ b/alacritty_terminal/CHANGELOG.md
@@ -8,7 +8,9 @@ sections should follow the order `Added`, `Changed`, `Deprecated`, `Fixed` and
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
-## 0.24.2-dev
+## 0.24.3-dev
+
+## 0.24.2
### Added
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml
index 32e09a72..53e0be10 100644
--- a/alacritty_terminal/Cargo.toml
+++ b/alacritty_terminal/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "alacritty_terminal"
-version = "0.24.2-dev"
+version = "0.24.3-dev"
authors = ["Christian Duerr <contact@christianduerr.com>", "Joe Wilm <joe@jwilm.com>"]
license = "Apache-2.0"
description = "Library for writing terminal emulators"
diff --git a/extra/osx/Alacritty.app/Contents/Info.plist b/extra/osx/Alacritty.app/Contents/Info.plist
index 59c70ff2..ca8d2d7b 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.15.0-dev</string>
+ <string>0.16.0-dev</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>