summaryrefslogtreecommitdiff
path: root/helix-tui/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-tui/src')
-rw-r--r--helix-tui/src/backend/crossterm.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/helix-tui/src/backend/crossterm.rs b/helix-tui/src/backend/crossterm.rs
index d276dea0..52841f6e 100644
--- a/helix-tui/src/backend/crossterm.rs
+++ b/helix-tui/src/backend/crossterm.rs
@@ -328,6 +328,9 @@ impl ModifierDiff {
if removed.contains(Modifier::SLOW_BLINK) || removed.contains(Modifier::RAPID_BLINK) {
queue!(w, SetAttribute(CAttribute::NoBlink))?;
}
+ if removed.contains(Modifier::HIDDEN) {
+ queue!(w, SetAttribute(CAttribute::NoHidden))?;
+ }
let added = self.to - self.from;
if added.contains(Modifier::REVERSED) {
@@ -351,6 +354,9 @@ impl ModifierDiff {
if added.contains(Modifier::RAPID_BLINK) {
queue!(w, SetAttribute(CAttribute::RapidBlink))?;
}
+ if added.contains(Modifier::HIDDEN) {
+ queue!(w, SetAttribute(CAttribute::Hidden))?;
+ }
Ok(())
}