From 7ff22c969ea284c7b8f48de3a0ceef3635bdf4ba Mon Sep 17 00:00:00 2001 From: Felipe Coury Date: Fri, 10 Apr 2026 14:33:04 -0300 Subject: [PATCH] fix(tui): annotate keymap capture dimensions Adds argument-name comments to the keymap capture snapshot helper so the argument-comment lint accepts the test literals. --- codex-rs/tui/src/keymap_setup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/tui/src/keymap_setup.rs b/codex-rs/tui/src/keymap_setup.rs index 3c4d4dc614..c42d4a1435 100644 --- a/codex-rs/tui/src/keymap_setup.rs +++ b/codex-rs/tui/src/keymap_setup.rs @@ -662,7 +662,7 @@ mod tests { assert_snapshot!( "keymap_capture_view", - format!("{:?}", render_capture(&view, 80, 8)) + format!("{:?}", render_capture(&view, /*width*/ 80, /*height*/ 8)) ); }