File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ TUI-Kanban supports multiple color themes to match your terminal preferences and
161161
162162### Changing Your Theme
163163
164+ The theme can be changed from the UI by pressing ` ctrl+p ` .
165+
164166Edit your configuration file at ` ~/.config/tui-kanban/config.json ` (Linux/macOS) or ` %APPDATA%\tui-kanban\config.json ` (Windows):
165167
166168``` json
Original file line number Diff line number Diff line change @@ -52,16 +52,16 @@ fn run_app<B: ratatui::backend::Backend>(
5252
5353 // handle input
5454 if let Event :: Key ( key) = event:: read ( ) ? {
55- // Handle Ctrl+P globally to open project list
55+ // Handle Ctrl+p globally to open project list
5656 if key. code == KeyCode :: Char ( 'p' ) && key. modifiers . contains ( KeyModifiers :: CONTROL ) {
5757 if app. input_mode == InputMode :: Normal {
5858 app. open_project_list ( ) ;
5959 }
6060 continue ;
6161 }
6262
63- // Handle Shift+T globally to open theme selector
64- if key. code == KeyCode :: Char ( 'T ' ) && key. modifiers . contains ( KeyModifiers :: SHIFT ) {
63+ // Handle Ctrl+t globally to open theme selector
64+ if key. code == KeyCode :: Char ( 't ' ) && key. modifiers . contains ( KeyModifiers :: CONTROL ) {
6565 if app. input_mode == InputMode :: Normal {
6666 app. open_theme_selector ( ) ;
6767 }
Original file line number Diff line number Diff line change @@ -680,7 +680,7 @@ fn draw_help(f: &mut Frame, app: &mut App) {
680680 . fg( app. theme. accent)
681681 . add_modifier( Modifier :: BOLD ) ,
682682 ) ] ) ,
683- Line :: from( " Ctrl+P : Open project list" ) ,
683+ Line :: from( " Ctrl+p : Open project list" ) ,
684684 Line :: from( " a : Add new project (in project list)" ) ,
685685 Line :: from( " d : Delete project (in project list)" ) ,
686686 Line :: from( " s : Set selected project as default (in project list)" ) ,
@@ -691,7 +691,7 @@ fn draw_help(f: &mut Frame, app: &mut App) {
691691 . fg( app. theme. accent)
692692 . add_modifier( Modifier :: BOLD ) ,
693693 ) ] ) ,
694- Line :: from( " Shift+T : Change theme" ) ,
694+ Line :: from( " Ctrl+t : Change theme" ) ,
695695 Line :: from( " ? : Show this help" ) ,
696696 Line :: from( " q : Quit application" ) ,
697697 ] ;
You can’t perform that action at this time.
0 commit comments