Skip to content

Commit

Permalink
Clean up superfluous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasschwab committed Oct 2, 2024
1 parent f28cd79 commit 9c035ed
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ gum
dist
testdata

# Demos
*.tape
*.gif

# Folders
completions/
manpages/
Expand Down
3 changes: 1 addition & 2 deletions date/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import (
"github.com/fxtlabs/date"
)

// Run provides a shell script interface for the text input bubble.
// https://github.com/charmbracelet/bubbles/textinput
// Run provides a shell script interface for the date picker component.
func (o Options) Run() error {
picker := basePicker()

Expand Down
4 changes: 0 additions & 4 deletions date/date.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
m.timeout = msg.TimeoutValue
return m, timeout.Tick(msg.TimeoutValue, msg.Data)
// case tea.WindowSizeMsg:
// if m.autoWidth {
// m.textinput.Width = msg.Width - lipgloss.Width(m.textinput.Prompt) - 1
// }
case tea.KeyMsg:
switch msg.String() {
case "ctrl+c", "esc":
Expand Down

0 comments on commit 9c035ed

Please sign in to comment.