add nosrgb flag

macos-click-through
Keith Simmons 3 years ago
parent 6b96f79bb1
commit 78bcc7431a

@ -123,6 +123,11 @@ pub fn handle_command_line_arguments(args: Vec<String>) -> Result<(), String> {
.long("srgb") .long("srgb")
.help("Use standard color space to initialize the window. Swapping this variable sometimes fixes issues on startup"), .help("Use standard color space to initialize the window. Swapping this variable sometimes fixes issues on startup"),
) )
.arg(
Arg::with_name("nosrgb")
.long("nosrgb")
.help("Do not use standard color space to initialize the window. Swapping this variable sometimes fixes issues on startup"),
)
// Command-line arguments with environment variable fallback // Command-line arguments with environment variable fallback
.arg( .arg(
Arg::with_name("neovim_bin") Arg::with_name("neovim_bin")

Loading…
Cancel
Save