buflist: Use different color when only non-messages are unread
This commit is contained in:
@ -25,7 +25,7 @@ use tokio::sync::mpsc::UnboundedReceiver;
|
||||
use tracing_error::ErrorLayer;
|
||||
use tracing_subscriber::prelude::*;
|
||||
|
||||
use super::{Buffer, BufferId, BufferItem, BufferItemContent};
|
||||
use super::{Buffer, BufferId, BufferItem, BufferItemContent, FullyReadStatus};
|
||||
use crate::widgets::Prerender;
|
||||
|
||||
/// Maximum number of log lines to be stored in memory
|
||||
@ -103,8 +103,8 @@ impl Buffer for LogBuffer {
|
||||
Default::default()
|
||||
}
|
||||
|
||||
fn fully_read(&self) -> bool {
|
||||
fn fully_read(&self) -> FullyReadStatus {
|
||||
// TODO
|
||||
true
|
||||
FullyReadStatus::All
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user