Skip to content

Commit

Permalink
Release 1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Jun 27, 2024
1 parent 6015068 commit a8e4d34
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ import (
"github.com/sahilm/fuzzy"
)

var Version = "v1.9.0"
var Version = "1.10.0"

const separator = " " // Separator between columns.

var (
bold = lipgloss.NewStyle().Bold(true)
warning = lipgloss.NewStyle().Border(lipgloss.RoundedBorder()).PaddingLeft(1).PaddingRight(1)
preview = lipgloss.NewStyle().PaddingLeft(2)
cursor = lipgloss.NewStyle().Background(lipgloss.Color("#825DF2")).Foreground(lipgloss.Color("#FFFFFF"))
Expand Down Expand Up @@ -997,7 +998,7 @@ func remove(path string) {
}

func usage() {
_, _ = fmt.Fprintf(os.Stderr, "\n "+cursor.Render(" walk ")+"\n\n Usage: walk [path]\n\n")
_, _ = fmt.Fprintf(os.Stderr, "\n "+bold.Render("walk "+Version)+"\n\n Usage: walk [path]\n\n")
w := tabwriter.NewWriter(os.Stderr, 0, 8, 2, ' ', 0)
put := func(s string) {
_, _ = fmt.Fprintln(w, s)
Expand All @@ -1023,6 +1024,6 @@ func usage() {
}

func version() {
fmt.Printf("\n %s %s\n\n", cursor.Render(" walk "), Version)
fmt.Printf("%s\n", Version)
os.Exit(0)
}

0 comments on commit a8e4d34

Please sign in to comment.