mirror of
https://github.com/ollama/ollama
synced 2026-04-23 08:45:14 +00:00
Defensively handle environments without a display server to ensure signin remains usable on headless VMs and SSH sessions. - Skip calling xdg-open when neither DISPLAY nor WAYLAND_DISPLAY is set, preventing silent failures or unexpected browser handlers - Render the signin URL as plain text instead of wrapping it in OSC 8 hyperlink escape sequences, which can be garbled or hidden by terminals that don't support them |
||
|---|---|---|
| .. | ||
| confirm.go | ||
| confirm_test.go | ||
| selector.go | ||
| selector_test.go | ||
| signin.go | ||
| signin_test.go | ||
| tui.go | ||
| tui_test.go | ||