diff --git a/completeterminal.cpp b/completeterminal.cpp index 9138ca7..aeac281 100644 --- a/completeterminal.cpp +++ b/completeterminal.cpp @@ -44,6 +44,6 @@ void Complete::apply_string( string diff ) bool Complete::operator==( Complete const &x ) const { - assert( parser == x.parser ); + // assert( parser == x.parser ); /* parser state is irrelevant for us */ return terminal == x.terminal; } diff --git a/terminal.cpp b/terminal.cpp index 41dd4ee..12c0da1 100644 --- a/terminal.cpp +++ b/terminal.cpp @@ -155,5 +155,6 @@ void Emulator::resize( size_t s_width, size_t s_height ) bool Emulator::operator==( Emulator const &x ) const { - return ( dispatch == x.dispatch ) && ( user == x.user ) && ( fb == x.fb ); + /* dispatcher and user are irrelevant for us */ + return ( fb == x.fb ); }