We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f3bca3 commit 6029c46Copy full SHA for 6029c46
MAVProxy/modules/lib/wxconsole_ui.py
@@ -1,6 +1,6 @@
1
import errno
2
import time
3
-import os
+import platform
4
import socket
5
from MAVProxy.modules.lib import mp_menu
6
from MAVProxy.modules.lib.wxconsole_util import Value, Text
@@ -131,6 +131,11 @@ def on_timer(self, event):
131
# workaround wx bug on windows
132
value._foregroundColour = obj.fg
133
value.SetLabel(obj.text)
134
+ if platform.system() == 'Windows':
135
+ # more working around wx bugs in windows; without
136
+ # these the display does not update on colour change
137
+ value.Refresh()
138
+ value.Update()
139
self.panel.Layout()
140
elif isinstance(obj, Text):
141
'''request to add text to the console'''
0 commit comments