Add the calendar view (M10)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -115,7 +115,13 @@ type toastRoot struct {
|
||||
app *App
|
||||
}
|
||||
|
||||
// narrowWidth is the terminal width below which the six tabs and the full
|
||||
// service names no longer fit on one line.
|
||||
const narrowWidth = 92
|
||||
|
||||
func (r *toastRoot) Draw(screen tcell.Screen) {
|
||||
w, _ := screen.Size()
|
||||
r.app.setNarrow(w < narrowWidth)
|
||||
r.Flex.Draw(screen)
|
||||
a := r.app
|
||||
now := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user