Fix UDHR test and libcosmic compilation

This commit is contained in:
Jeremy Soller 2022-10-21 12:40:29 -06:00
parent 50dfd4e6ed
commit 9b2bfbf3cb
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
2 changed files with 3 additions and 3 deletions

View file

@ -136,8 +136,6 @@ where
let appearance = theme.appearance();
let text_color_u32 = appearance.text_color_u32();
let buffer = self.buffer.lock().unwrap();
let instant = Instant::now();
if let Some(background_color) = appearance.background_color {
@ -152,6 +150,8 @@ where
);
}
let mut buffer = self.buffer.lock().unwrap();
buffer.shape_until_cursor();
let buffer_x = layout.bounds().x;

View file

@ -122,7 +122,7 @@ fn main() {
log::debug!("Line {:?}", line);
for c in line.chars() {
if c.is_control() {
if c.is_control() && c != '\t' {
log::warn!("Ignoring control character {:?}", c);
continue;
}