Base: codex-main originale (prima del fork aKode)

This commit is contained in:
Andrea
2026-11-09 10:37:42 +01:00
commit 7874033c81
10166 changed files with 2728937 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
//! Inspect the completed frame without adding test helpers to the terminal implementation.
use std::io;
use std::io::Write;
use ratatui::backend::Backend;
use ratatui::buffer::Buffer;
use super::Terminal;
pub(crate) fn last_rendered_buffer<B>(terminal: &Terminal<B>) -> &Buffer
where
B: Backend<Error = io::Error> + Write,
{
terminal.previous_buffer()
}