chore(logging): log all unhandled ansi sequences (#1636)

This commit is contained in:
Aram Drevekenin 2022-08-05 16:17:58 +02:00 committed by GitHub
parent 0cedf39032
commit 4908b94eb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1717,7 +1717,9 @@ impl Perform for Grid {
15 => {
self.set_active_charset(CharsetIndex::G0);
},
_ => {},
_ => {
log::warn!("Unhandled execute: {:?}", byte);
},
}
}
@ -1940,7 +1942,9 @@ impl Perform for Grid {
// TBD - reset text cursor color - currently unimplemented
},
_ => {},
_ => {
log::warn!("Unhandled osc: {:?}", params);
},
}
}
@ -2444,7 +2448,9 @@ impl Perform for Grid {
fill_character.character = 'E';
self.fill_viewport(fill_character);
},
_ => {},
_ => {
log::warn!("Unhandled esc_dispatch: {}->{:?}", byte, intermediates);
},
}
}
}