Skip to content

Commit c13a289

Browse files
committed
updating phrasing
1 parent 8853368 commit c13a289

5 files changed

+7
-7
lines changed

codex-rs/tui/src/bottom_pane/approval_overlay.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ fn exec_options(allow_prefix: Option<Vec<String>>) -> Vec<ApprovalOption> {
485485
additional_shortcuts: vec![key_hint::plain(KeyCode::Char('y'))],
486486
},
487487
ApprovalOption {
488-
label: "Yes, and don't ask again for this command".to_string(),
488+
label: "Yes, and don't ask again this session".to_string(),
489489
decision: ApprovalDecision::Review(ReviewDecision::ApprovedForSession),
490490
display_shortcut: None,
491491
additional_shortcuts: vec![key_hint::plain(KeyCode::Char('a'))],

codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ expression: terminal.backend().vt100().screen().contents()
1010
$ echo hello world
1111

1212
1. Yes, proceed (y)
13-
2. Yes, and don't ask again for this command (a)
13+
2. Yes, and don't ask again this session (a)
1414
3. Yes, and don't ask again for commands with this prefix (p)
1515
4. No, and tell Codex what to do differently (esc)
1616

codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec_no_reason.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ expression: terminal.backend().vt100().screen().contents()
77
$ echo hello world
88

99
1. Yes, proceed (y)
10-
2. Yes, and don't ask again for this command (a)
10+
2. Yes, and don't ask again this session (a)
1111
3. Yes, and don't ask again for commands with this prefix (p)
1212
4. No, and tell Codex what to do differently (esc)
1313

codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__exec_approval_modal_exec.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Buffer {
1515
" $ echo hello world ",
1616
" ",
1717
"› 1. Yes, proceed (y) ",
18-
" 2. Yes, and don't ask again for this command (a) ",
18+
" 2. Yes, and don't ask again this session (a) ",
1919
" 3. No, and tell Codex what to do differently (esc) ",
2020
" ",
2121
" Press enter to confirm or esc to cancel ",
@@ -30,8 +30,8 @@ Buffer {
3030
x: 7, y: 5, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
3131
x: 0, y: 9, fg: Cyan, bg: Reset, underline: Reset, modifier: BOLD,
3232
x: 21, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
33-
x: 48, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
34-
x: 49, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
33+
x: 44, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
34+
x: 45, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
3535
x: 48, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
3636
x: 51, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
3737
x: 2, y: 13, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,

codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_widget_and_approval_modal.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ expression: terminal.backend()
1212
" $ echo 'hello world' "
1313
" "
1414
"› 1. Yes, proceed (y) "
15-
" 2. Yes, and don't ask again for this command (a) "
15+
" 2. Yes, and don't ask again this session (a) "
1616
" 3. Yes, and don't ask again for commands with this prefix (p) "
1717
" 4. No, and tell Codex what to do differently (esc) "
1818
" "

0 commit comments

Comments
 (0)