mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-07 05:56:36 +03:00
ecode: Added an option to configure the default shell used by ecode terminal.
Closes SpartanJ/ecode#70.
This commit is contained in:
@@ -142,6 +142,7 @@ void AppConfig::load( const std::string& confPath, std::string& keybindingsPath,
|
||||
globalSearchBarConfig.escapeSequence =
|
||||
ini.getValueB( "global_search_bar", "escape_sequence", false );
|
||||
|
||||
term.shell = ini.getValue( "terminal", "shell" );
|
||||
term.fontSize = ini.getValue( "terminal", "font_size", "11dp" );
|
||||
term.colorScheme = ini.getValue( "terminal", "colorscheme", "eterm" );
|
||||
|
||||
@@ -246,6 +247,7 @@ void AppConfig::save( const std::vector<std::string>& recentFiles,
|
||||
ini.setValueB( "global_search_bar", "whole_word", globalSearchBarConfig.wholeWord );
|
||||
ini.setValueB( "global_search_bar", "escape_sequence", globalSearchBarConfig.escapeSequence );
|
||||
|
||||
ini.setValue( "terminal", "shell", term.shell );
|
||||
ini.setValue( "terminal", "font_size", term.fontSize.toString() );
|
||||
ini.setValue( "terminal", "colorscheme", term.colorScheme );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user