ollama/cmd/tui
Bruce MacDonald 727d69ddf3
tui: fix signin on headless Linux systems (#14627)
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
2026-03-18 11:11:17 -07:00
..
confirm.go cmd: TUI UX improvements (#14198) 2026-02-11 10:18:41 -08:00
confirm_test.go cmd: TUI UX improvements (#14198) 2026-02-11 10:18:41 -08:00
selector.go cmd: TUI model ordering (#14814) 2026-03-13 10:19:22 -07:00
selector_test.go cmd: TUI model ordering (#14814) 2026-03-13 10:19:22 -07:00
signin.go tui: fix signin on headless Linux systems (#14627) 2026-03-18 11:11:17 -07:00
signin_test.go tui: fix signin on headless Linux systems (#14627) 2026-03-18 11:11:17 -07:00
tui.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
tui_test.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00