Skip to content
Myr

align.go

This file

Path

internal/decode/align.go

13 lines · 322 bytes · Go

Last changed by

chore: update to bubbletea v2 (#1112)Drew Smirnoffbefore adoptionf6dd28e

History of this file

Take it

The walk stopped after 200 commits: lines older than 6837ed2 point at it.

fix: lint issues (#909)Carlos Alexandro Beckerbefore adoption817c4bd

line 1why, one step back
1// Package decode position strings to lipgloss.

feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661)dependabot[bot]before adoption6837ed2

lines 2–3why, one step back
2package decode
3

chore: update to bubbletea v2 (#1112)Drew Smirnoffbefore adoptionf6dd28e

line 4why, one step back
4import "charm.land/lipgloss/v2"

feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661)dependabot[bot]before adoption6837ed2

lines 5–13why, one step back
5
6// Align maps strings to `lipgloss.Position`s.7var Align = map[string]lipgloss.Position{8 "center": lipgloss.Center,9 "left": lipgloss.Left,10 "top": lipgloss.Top,11 "bottom": lipgloss.Bottom,12 "right": lipgloss.Right,13}