use crate::logcat::LoggerEntry;

pub enum Event {
    Command(String),
    KeyCode(i32),
    LoggerEntry(LoggerEntry),
}

use crate::logcat::LoggerEntry;

#[derive(Debug, Eq, PartialEq)]
pub enum Event {
    Command(String),
    KeyCode(i32),
    LoggerEntry(LoggerEntry),
}

Make Event derive Debug, Eq, PartialEq
Make Event derive Debug, Eq, PartialEq

Make Event derive a few traits to make it possible to compare events in
unit tests.

Signed-off-by: Mårten Kongstad <dc2725693754f1a7a91164b380c7dc13093f6fdb@gmail.com>
