Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't attempt to display cmd_duration notification if in TTY (#4535
) Disables the display of notifications from cmd_duration on Linux if none of DISPLAY, WAYLAND_DISPLAY, or MIR_SOCKET are set. This prevents starship from attempting to create notifications in tty environments, which was previously causing hangs.
- Loading branch information
1 parent
c2c2eec
commit 0427863
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters