File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ use adw::prelude::*;
22use adw:: subclass:: prelude:: * ;
33use gtk:: glib;
44use gtk:: { self , gio} ;
5- use std:: cell:: RefCell ;
65use vte4:: prelude:: * ;
76
87use crate :: gtk_utils:: ColorPalette ;
@@ -17,7 +16,6 @@ mod imp {
1716 #[ properties( wrapper_type = super :: TaskOutputTerminal ) ]
1817 pub struct TaskOutputTerminal {
1918 pub terminal : vte4:: Terminal ,
20- pub output_buffer : RefCell < String > ,
2119 }
2220
2321 #[ glib:: object_subclass]
@@ -29,7 +27,6 @@ mod imp {
2927 fn new ( ) -> Self {
3028 Self {
3129 terminal : vte4:: Terminal :: new ( ) ,
32- output_buffer : RefCell :: new ( String :: new ( ) ) ,
3330 }
3431 }
3532 }
@@ -138,7 +135,6 @@ impl TaskOutputTerminal {
138135 let imp = self . imp ( ) ;
139136 let terminal = & imp. terminal ;
140137 terminal. reset ( true , true ) ;
141- * imp. output_buffer . borrow_mut ( ) = String :: new ( ) ;
142138 }
143139
144140 /// Get the terminal widget for advanced operations
You can’t perform that action at this time.
0 commit comments