aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/scheduler.rs
diff options
context:
space:
mode:
authorDettorer <Dettorer@users.noreply.github.com>2020-11-24 00:11:03 +0100
committerGitHub <noreply@github.com>2020-11-23 23:11:03 +0000
commit2fd2db4afa232ebd15dbfff88160224badeaa669 (patch)
treeef0cdf3311df017da5fff4d29ce898d690980a3e /alacritty/src/scheduler.rs
parent07cfe8bbba0851ff4989f6aaf082d72130cd0f5b (diff)
downloadr-alacritty-2fd2db4afa232ebd15dbfff88160224badeaa669.tar.gz
r-alacritty-2fd2db4afa232ebd15dbfff88160224badeaa669.tar.bz2
r-alacritty-2fd2db4afa232ebd15dbfff88160224badeaa669.zip
Add blinking cursor support
This adds support for blinking the terminal cursor. This can be controlled either using the configuration file, or using escape sequences. The supported control sequences for changing the blinking state are `CSI Ps SP q` and private mode 12.
Diffstat (limited to 'alacritty/src/scheduler.rs')
-rw-r--r--alacritty/src/scheduler.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty/src/scheduler.rs b/alacritty/src/scheduler.rs
index db6180ca..5e454141 100644
--- a/alacritty/src/scheduler.rs
+++ b/alacritty/src/scheduler.rs
@@ -14,6 +14,7 @@ type Event = GlutinEvent<'static, AlacrittyEvent>;
pub enum TimerId {
SelectionScrolling,
DelayedSearch,
+ BlinkCursor,
}
/// Event scheduled to be emitted at a specific time.