Skip to content

Commit 3bd74cc

Browse files
committed
feat(tui): update tui
update tui Signed-off-by: mritd <[email protected]>
1 parent ffa5be9 commit 3bd74cc

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

git_wapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func commitType() (MessageType, error) {
176176
MessageType{Type: PERF, ZHDescription: "性能优化", ENDescription: "Improving performance"},
177177
MessageType{Type: HOTFIX, ZHDescription: "紧急修复", ENDescription: "Bug fix urgently"},
178178
},
179-
PerPage: 5,
179+
PerPage: 6,
180180
// Use the arrow keys to navigate: ↓ ↑ → ←
181181
// Select Commit Type:
182182
HeaderFunc: selector.DefaultHeaderFuncWithAppend("Select Commit Type:"),

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.15
55
require (
66
github.com/charmbracelet/bubbletea v0.12.2
77
github.com/mitchellh/go-homedir v1.1.0
8-
github.com/mritd/bubbles v0.0.0-20210113114249-8a5426ed6a10
8+
github.com/mritd/bubbles v0.0.0-20210113152436-12363c089d42
99
github.com/urfave/cli/v2 v2.3.0
1010
)
1111

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ github.com/atotto/clipboard v0.1.2 h1:YZCtFu5Ie8qX2VmVTBnrqLSiU9XOWwqNRmdT3gIQzb
44
github.com/atotto/clipboard v0.1.2/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
55
github.com/charmbracelet/bubbles v0.7.5 h1:N6TiahuRt2iGNE5gYxKBQ5/C6Lc8xxSp5LY9QJ09mS4=
66
github.com/charmbracelet/bubbles v0.7.5/go.mod h1:IRTORFvhEI6OUH7WhN2Ks8Z8miNGimk1BE6cmHijOkM=
7-
github.com/charmbracelet/bubbletea v0.12.2 h1:y9Yo2Pv8tcm3mAJsWONGsmHhzrbNxJVxpVtemikxE9A=
8-
github.com/charmbracelet/bubbletea v0.12.2/go.mod h1:3gZkYELUOiEUOp0bTInkxguucy/xRbGSOcbMs1geLxg=
97
github.com/containerd/console v1.0.1 h1:u7SFAJyRqWcG6ogaMAx3KjSTy1e3hT9QxqX7Jco7dRc=
108
github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw=
119
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY=
@@ -19,8 +17,8 @@ github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/Qd
1917
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
2018
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
2119
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
22-
github.com/mritd/bubbles v0.0.0-20210113114249-8a5426ed6a10 h1:TQ4aym11OfDgXPWu5Ap31G/x7tpS38G+344CHekY668=
23-
github.com/mritd/bubbles v0.0.0-20210113114249-8a5426ed6a10/go.mod h1:McuZVsw6CJ6loKW9vDHIxVoJBJ6ryCzNnca51T6lbTo=
20+
github.com/mritd/bubbles v0.0.0-20210113152436-12363c089d42 h1:PFQQ+qBJWfBqPHVSdpk2LclZCZUcdo6ZLb7UWYFHGDg=
21+
github.com/mritd/bubbles v0.0.0-20210113152436-12363c089d42/go.mod h1:McuZVsw6CJ6loKW9vDHIxVoJBJ6ryCzNnca51T6lbTo=
2422
github.com/mritd/bubbletea v0.12.3-0.20210112015836-b36bfa653250 h1:NxJiJHahsbLFgwN+zXZG6sRDgYIej1dWbTEwq8iQ4KM=
2523
github.com/mritd/bubbletea v0.12.3-0.20210112015836-b36bfa653250/go.mod h1:3GlIveDq1Yxu3h40dqw1RmBmFktapld2qNZUC/kaMqw=
2624
github.com/muesli/reflow v0.2.0 h1:2o0UBJPHHH4fa2GCXU4Rg4DwOtWPMekCeyc5EWbAQp0=

0 commit comments

Comments
 (0)