Skip to content

Commit

Permalink
docs(example): add attribution to Orhun Parmaksız in space example
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Jan 9, 2025
1 parent b556027 commit 8cd051c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/space/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import (
"github.com/charmbracelet/lipgloss/v2"
)

// An example to show the FPS count of a moving space-like background.
//
// This was ported from the talented Orhun Parmaksız (@orhun)'s space example
// from his blog post "Why stdout is faster than stderr?".

type fps struct {
frameCount int
lastInstant time.Time
Expand Down

0 comments on commit 8cd051c

Please sign in to comment.