diff -r 82de5109035a -r 95a15b70f7bb src/eric7/MicroPython/Devices/EspDevices.py --- a/src/eric7/MicroPython/Devices/EspDevices.py Fri Sep 27 11:00:27 2024 +0200 +++ b/src/eric7/MicroPython/Devices/EspDevices.py Fri Sep 27 17:27:11 2024 +0200 @@ -311,6 +311,8 @@ self.tr("'esptool read_flash' Output"), self.tr("Backup Firmware"), showProgress=True, + monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), + encoding=Preferences.getSystem("IOEncoding"), ) res = dlg.startProcess(PythonUtilities.getPythonExecutable(), flashArgs) if res: @@ -364,6 +366,8 @@ self.tr("'esptool write_flash' Output"), self.tr("Restore Firmware"), showProgress=True, + monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), + encoding=Preferences.getSystem("IOEncoding"), ) res = dlg.startProcess(PythonUtilities.getPythonExecutable(), flashArgs) if res: @@ -457,7 +461,10 @@ "chip_id", ] dlg = EricProcessDialog( - self.tr("'esptool chip_id' Output"), self.tr("Show Chip ID") + self.tr("'esptool chip_id' Output"), + self.tr("Show Chip ID"), + monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), + encoding=Preferences.getSystem("IOEncoding"), ) res = dlg.startProcess(PythonUtilities.getPythonExecutable(), args) if res: @@ -477,7 +484,10 @@ "flash_id", ] dlg = EricProcessDialog( - self.tr("'esptool flash_id' Output"), self.tr("Show Flash ID") + self.tr("'esptool flash_id' Output"), + self.tr("Show Flash ID"), + monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), + encoding=Preferences.getSystem("IOEncoding"), ) res = dlg.startProcess(PythonUtilities.getPythonExecutable(), args) if res: @@ -497,7 +507,10 @@ "read_mac", ] dlg = EricProcessDialog( - self.tr("'esptool read_mac' Output"), self.tr("Show MAC Address") + self.tr("'esptool read_mac' Output"), + self.tr("Show MAC Address"), + monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), + encoding=Preferences.getSystem("IOEncoding"), ) res = dlg.startProcess(PythonUtilities.getPythonExecutable(), args) if res: @@ -1761,6 +1774,8 @@ QCoreApplication.translate("EspDevice", "'esptool erase_flash' Output"), QCoreApplication.translate("EspDevice", "Erase Flash"), showProgress=True, + monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), + encoding=Preferences.getSystem("IOEncoding"), ) res = dlg.startProcess(PythonUtilities.getPythonExecutable(), flashArgs) if res: @@ -1805,6 +1820,8 @@ QCoreApplication.translate("EspDevice", "'esptool write_flash' Output"), QCoreApplication.translate("EspDevice", "Flash µPy/CPy Firmware"), showProgress=True, + monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), + encoding=Preferences.getSystem("IOEncoding"), ) res = dlg.startProcess(PythonUtilities.getPythonExecutable(), flashArgs) if res: @@ -1846,6 +1863,8 @@ QCoreApplication.translate("EspDevice", "'esptool write_flash' Output"), QCoreApplication.translate("EspDevice", "Flash Additional Firmware"), showProgress=True, + monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), + encoding=Preferences.getSystem("IOEncoding"), ) res = dlg.startProcess(PythonUtilities.getPythonExecutable(), flashArgs) if res: