def option_changed(self, option, value):
    'Option has changed'
    setattr(self, to_text_string(option), value)
    if (not self.is_internal_shell):
        settings = self.get_view_settings()
        communicate(self._get_sock(), 'set_remote_view_settings()', settings=[settings])
Option has changed
def option_changed(self, option, value):
    
    setattr(self, to_text_string(option), value)
    if (not self.is_internal_shell):
        settings = self.get_view_settings()
        communicate(self._get_sock(), 'set_remote_view_settings()', settings=[settings])