Fix UDHR test and libcosmic compilation
This commit is contained in:
parent
50dfd4e6ed
commit
9b2bfbf3cb
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue