mirror of
https://github.com/openai/codex.git
synced 2026-11-18 23:02:23 +00:00
Upgrade Ratatui to 0.30.2 (#35959)
## What changed - Upgrade `ratatui`, `ratatui-macros`, `crossterm`, and `ansi-to-tui`, and adapt the TUI to their updated rendering, backend, color-conversion, and cell APIs. - Use Ratatui's cell-width and continuation-cell metadata when mapping OSC 8 hyperlinks so links remain aligned across wrapped wide glyphs and halfwidth characters with dakuten. - Preserve explicit hyperlinks in the sign-in success screen and empty MCP state without embedding escape sequences in the text passed to Ratatui. ## Testing - Add regression coverage for hyperlink placement across wide glyphs and halfwidth dakuten, hyperlink preservation in onboarding and MCP output, and display-width handling. GitOrigin-RevId: 8460873e5a266923acd0417bc46264845eab0134
This commit is contained in:
1 parent
e1895710ad
commit
00cb5c465b
43 files changed
+1097
-303
No files matched your search
@@ -4,6 +4,8 @@
|
||||
//! resuming/forking saved sessions, replacing ChatWidget instances, and maintaining the agent picker
|
||||
//! cache used for multi-agent navigation.
|
||||
|
||||
use std::io;
|
||||
|
||||
use super::agent_picker::AGENT_PICKER_VIEW_ID;
|
||||
use super::*;
|
||||
use crate::app_server_session::source_agent_path;
|
||||
@@ -569,7 +571,7 @@ impl App {
|
||||
terminal: &mut crate::custom_terminal::Terminal<B>,
|
||||
) -> Result<()>
|
||||
where
|
||||
B: Backend + Write,
|
||||
B: Backend<Error = io::Error> + Write,
|
||||
{
|
||||
terminal.clear_scrollback_and_visible_screen_ansi()?;
|
||||
let mut area = terminal.viewport_area;
|
||||
|
||||
Reference in new issue
Block a user