Windows: no console, app icons, Calc tiles paint, theme switch no edit
Release apps use the GUI subsystem; workers, Git and cmd start with CREATE_NO_WINDOW. Each exe embeds its icon as resource 1, which gpui also loads for the window. Patch 0044: Win32 devices take no client buffer, so tiles and slide layers paint at full size, then copy. ely.xcd gives both schemes one notes colour: Calc rewrote the comment style on each switch and left an undo step. lo-patches.sh keeps LF. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
f3bf816c40
commit
09d2a6b681
30 files changed
+189
-6
No files matched your search
@@ -4,6 +4,18 @@ mod relay;
|
||||
pub use relay::{Relay, relay};
|
||||
|
||||
use std::io::{self, Read, Write};
|
||||
use std::process::Command;
|
||||
|
||||
/// A child that opens no console window on Windows.
|
||||
pub fn windowless(command: &mut Command) -> &mut Command {
|
||||
#[cfg(windows)]
|
||||
{
|
||||
use std::os::windows::process::CommandExt as _;
|
||||
// CREATE_NO_WINDOW
|
||||
command.creation_flags(0x0800_0000);
|
||||
}
|
||||
command
|
||||
}
|
||||
|
||||
/// A frame: u32 length, u8 tag, u64 request id, payload.
|
||||
pub const MAX_FRAME: usize = 64 * 1024 * 1024;
|
||||
|
||||
Reference in new issue
Block a user