Changed bel to use dirty indicator, took away the 'has new content' indicator

Mikayla Maki created

Change summary

crates/terminal/src/terminal_container_view.rs | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)

Detailed changes

crates/terminal/src/terminal_container_view.rs 🔗

@@ -325,18 +325,14 @@ impl Item for TerminalContainer {
 
     fn is_dirty(&self, cx: &gpui::AppContext) -> bool {
         if let TerminalContainerContent::Connected(connected) = &self.content {
-            connected.read(cx).has_new_content()
+            connected.read(cx).has_bell()
         } else {
             false
         }
     }
 
-    fn has_conflict(&self, cx: &AppContext) -> bool {
-        if let TerminalContainerContent::Connected(connected) = &self.content {
-            connected.read(cx).has_bell()
-        } else {
-            false
-        }
+    fn has_conflict(&self, _cx: &AppContext) -> bool {
+        false
     }
 
     fn should_update_tab_on_event(event: &Self::Event) -> bool {