mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
rm ReviewStatusHistoryCell
This commit is contained in:
@@ -230,21 +230,12 @@ impl HistoryCell for TranscriptOnlyHistoryCell {
|
||||
}
|
||||
|
||||
/// Cyan history cell line showing the current review status.
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct ReviewStatusHistoryCell {
|
||||
message: String,
|
||||
}
|
||||
|
||||
impl HistoryCell for ReviewStatusHistoryCell {
|
||||
fn display_lines(&self, _width: u16) -> Vec<Line<'static>> {
|
||||
vec![Line::from(self.message.clone().cyan())]
|
||||
pub(crate) fn new_review_status_line(message: String) -> PlainHistoryCell {
|
||||
PlainHistoryCell {
|
||||
lines: vec![Line::from(message.cyan())],
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn new_review_status_line(message: String) -> ReviewStatusHistoryCell {
|
||||
ReviewStatusHistoryCell { message }
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct PatchHistoryCell {
|
||||
event_type: PatchEventType,
|
||||
|
||||
Reference in New Issue
Block a user