mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-18 03:49:50 -06:00
Users who use lazygit for short sessions, and never leave it idle for a minute, don't get to see the update menu until a week after the update came out. Print a short message to the terminal after lazygit exits, the way gh and npm do. The user is back in the shell at that point, where they can run the command that we show. Do this at most once a day, and not on a day when the user responded to the update menu. The message doesn't count as a response to the menu. If other lazygit instances show the menu, it stays open there, and an idle lazygit can still show it later that day. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>