mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Since I accidentally already committed some of the detach-code, here's the
rest of it. It doesn't really work, you can make irssi detached but you can't attach to it anymore :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2268 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ba09b3f299
commit
e46446e950
6 changed files with 85 additions and 14 deletions
|
|
@ -93,6 +93,8 @@ static void read_settings(void)
|
|||
{
|
||||
int old_colors = term_use_colors;
|
||||
|
||||
term_auto_detach(settings_get_bool("term_auto_detach"));
|
||||
|
||||
if (force_colors != settings_get_bool("term_force_colors")) {
|
||||
force_colors = settings_get_bool("term_force_colors");
|
||||
term_force_colors(force_colors);
|
||||
|
|
@ -112,6 +114,7 @@ void term_common_init(void)
|
|||
#endif
|
||||
settings_add_bool("lookandfeel", "colors", TRUE);
|
||||
settings_add_bool("lookandfeel", "term_force_colors", FALSE);
|
||||
settings_add_bool("lookandfeel", "term_auto_detach", FALSE);
|
||||
|
||||
force_colors = FALSE;
|
||||
term_use_colors = term_has_colors() && settings_get_bool("colors");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue