def OnOK(self, events):
        self.settings.echo = self.checkbox_echo.GetValue()
        self.settings.unprintable = self.checkbox_unprintable.GetValue()
        self.settings.newline = self.radio_box_newline.GetSelection()
        self.EndModal(wx.ID_OK)
Flush metrics in queue
dataset/ETHPy150Open pyserial/pyserial/examples/wxTerminal.py/TerminalSettingsDialog.OnOK--crossover with--dataset/ETHPy150Open BrightcoveOS/Diamond/src/diamond/handler/multigraphite.py/MultiGraphiteHandler.flush