File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
crates/agentic-tui/src/ui Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ impl App {
731731 _ => { }
732732 } ,
733733 AppMode :: Settings => match key. code {
734- KeyCode :: Char ( 'r' ) => self . mode = AppMode :: Normal ,
734+ KeyCode :: Esc => self . mode = AppMode :: Normal ,
735735 KeyCode :: Char ( 's' ) => {
736736 if let Err ( e) = self . settings . save ( ) {
737737 eprintln ! ( "Warning: Failed to save settings: {}" , e) ;
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ pub fn render_settings_modal(
141141 let action_text = match mode {
142142 AppMode :: EditingApiKey => "[ENTER] Save | [CTRL+V] Paste | [ESC] Cancel" ,
143143 AppMode :: EditingEndpoint => "[ENTER] Save | [ESC] Cancel" ,
144- _ => "[ENTER] Edit | [ ↑↓] Navigate | [S]ave | [R]eturn " ,
144+ _ => "[↑↓] Navigate | [S]ave changes | [ESC] Return " ,
145145 } ;
146146 let action_style = if selection == SettingsSelection :: Save {
147147 theme. highlight_style ( )
You can’t perform that action at this time.
0 commit comments