Skip to content

Commit

Permalink
Name area
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanV committed Aug 22, 2024
1 parent 491b425 commit 2242a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ui/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func (m model) View() string {
var termWidth, termHeight = m.width, m.height
switch state := m.state.(type) {
case Setup:
s += lipgloss.Place(termWidth, termHeight, lipgloss.Center, lipgloss.Center, state.list.View())
s += lipgloss.Place(termWidth, termHeight, lipgloss.Center, lipgloss.Center, "Name: \n\n"+state.list.View())
case Lobby:
if m.playerInfo.ReadyToStart {
s += lipgloss.Place(termWidth, termHeight, lipgloss.Center, lipgloss.Center, "Waiting for others...")
Expand Down

0 comments on commit 2242a36

Please sign in to comment.