Merge upstream/dev: custom and holiday themes, chat backgrounds
Upstream's theme system (two-color custom themes, holiday themes, picture icons, chat backgrounds) next to the tth terminal theme: - a user's custom theme wins; without one, themeMode 'terminal' is still the dark theme (main.dart); - MeshTheme.buildFrom (terminal base) builds with the stock bubble, icon and map extensions, like dark()/light(); - terminal avatars also show a theme slot's glyph; the bottom bar stays 44 px without labels in the terminal theme, 76/60 otherwise; - map overlays: terminal panels stay square and black, otherwise upstream's palette/follow-theme logic; channel list keeps the terminal padding. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
675342e745
144 files changed
+13281
-732
No files matched your search
+6
-1
@@ -154,7 +154,12 @@ FFI_PLUGIN_EXPORT int fl_open(int flh, char *portname, int baudrate)
|
||||
port->serialport = new serial::Serial();
|
||||
#if !defined(__linux__) && !defined(__APPLE__)
|
||||
port->serialport->setTimeout(serial::Timeout(0, 2, 0, 0, 0));
|
||||
#endif // #if defined(__linux__)
|
||||
#else
|
||||
// With a zero read timeout, read() returns immediately on an idle
|
||||
// O_NONBLOCK port and SerialThread spins. A short timeout lets select()
|
||||
// sleep; arriving data still wakes it immediately.
|
||||
port->serialport->setTimeout(10, 10, 0, 0, 0);
|
||||
#endif
|
||||
port->serialport->setPort(portname);
|
||||
port->serialport->setBaudrate(baudrate);
|
||||
|
||||
|
||||
+6
-1
@@ -167,7 +167,12 @@ FFI_PLUGIN_EXPORT int fl_open(int flh, char *portname, int baudrate)
|
||||
port->serialport = new serial::Serial();
|
||||
#if !defined(__linux__) && !defined(__APPLE__)
|
||||
port->serialport->setTimeout(serial::Timeout(0, 2, 0, 0, 0));
|
||||
#endif // #if defined(__linux__)
|
||||
#else
|
||||
// With a zero read timeout, read() returns immediately on an idle
|
||||
// O_NONBLOCK port and SerialThread spins. A short timeout lets select()
|
||||
// sleep; arriving data still wakes it immediately.
|
||||
port->serialport->setTimeout(10, 10, 0, 0, 0);
|
||||
#endif
|
||||
port->serialport->setPort(portname);
|
||||
port->serialport->setBaudrate(baudrate);
|
||||
|
||||
|
||||
Reference in new issue
Block a user