From cb1646437515ae8b6891e3bd0b7a548e217bb53a Mon Sep 17 00:00:00 2001 From: akitsu-sanae Date: Fri, 19 Jul 2019 05:25:25 +0900 Subject: [PATCH] feature: changing cursor style --- src/cursor.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cursor.rs b/src/cursor.rs index bbc0394..13701f2 100644 --- a/src/cursor.rs +++ b/src/cursor.rs @@ -14,6 +14,13 @@ derive_csi_sequence!("Show the cursor.", Show, "?25h"); derive_csi_sequence!("Restore the cursor.", Restore, "u"); derive_csi_sequence!("Save the cursor.", Save, "s"); +derive_csi_sequence!("Change the cursor style to blinking block", BlinkingBlock, "\x31 q"); +derive_csi_sequence!("Change the cursor style to steady block", SteadyBlock, "\x32 q"); +derive_csi_sequence!("Change the cursor style to blinking underline", BlinkingUnderline, "\x33 q"); +derive_csi_sequence!("Change the cursor style to steady underline", SteadyUnderline, "\x34 q"); +derive_csi_sequence!("Change the cursor style to blinking bar", BlinkingBar, "\x35 q"); +derive_csi_sequence!("Change the cursor style to steady bar", SteadyBar, "\x36 q"); + /// Goto some position ((1,1)-based). /// /// # Why one-based?