- Fixed bug #287 which caused color control codes to be written to
  the shadow file (thanks to Richard Querin).
This commit is contained in:
Paul Beckingham 2009-08-29 13:55:59 -04:00
parent 62be3f8acb
commit 05f67db429
2 changed files with 5 additions and 2 deletions

View file

@ -255,8 +255,6 @@ void Context::shadow ()
std::string oldCurses = config.get ("curses");
std::string oldColor = config.get ("color");
config.set ("curses", "off");
config.set ("color", "off");
clear ();
@ -267,6 +265,9 @@ void Context::shadow ()
split (args, command, ' ');
initialize ();
config.set ("curses", "off");
config.set ("color", "off");
parse ();
std::string result;
(void)dispatch (result);