aboutsummaryrefslogtreecommitdiff
path: root/src/term/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r--src/term/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index 97460421..59cf6baf 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -689,6 +689,7 @@ pub struct Term {
pub dirty: bool,
pub visual_bell: VisualBell,
+ pub next_is_urgent: Option<bool>,
/// Saved cursor from main grid
cursor_save: Cursor,
@@ -791,6 +792,7 @@ impl Term {
next_title: None,
dirty: false,
visual_bell: VisualBell::new(config),
+ next_is_urgent: None,
input_needs_wrap: false,
grid: grid,
alt_grid: alt,
@@ -1459,6 +1461,7 @@ impl ansi::Handler for Term {
fn bell(&mut self) {
trace!("bell");
self.visual_bell.ring();
+ self.next_is_urgent = Some(true);
}
#[inline]