Report an error when trying to open ui in linux::headless (#11952)
Release Notes: - N/A
This commit is contained in:
parent
9d10969906
commit
b890fa71ff
5 changed files with 25 additions and 0 deletions
|
@ -68,6 +68,10 @@ impl LinuxClient for HeadlessClient {
|
|||
None
|
||||
}
|
||||
|
||||
fn can_open_windows(&self) -> anyhow::Result<()> {
|
||||
return Err(anyhow::anyhow!("neither DISPLAY, nor WAYLAND_DISPLAY found. You can still run zed for remote development with --dev-server-token."));
|
||||
}
|
||||
|
||||
fn open_window(
|
||||
&self,
|
||||
_handle: AnyWindowHandle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue