Skip to content

Commit 5d23bf2

Browse files
committed
add: readme image
1 parent 0538b02 commit 5d23bf2

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

assets/1.gif

1.98 MB
Loading

assets/2.png

-34.5 KB
Loading

assets/3.png

-42.4 KB
Loading

internal/consts/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package consts
22

33
const (
44
AppName = "go-v2ex"
5-
AppVersion = "v1.1.1"
5+
AppVersion = "v1.2.0"
66
)

internal/ui/components/detail/detail.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var (
3737
NewStyle().
3838
Border(lipgloss.RoundedBorder())
3939
keyHelp = fmt.Sprintf(
40-
"[%s/n b d %s]",
40+
"[n/%s b d %s/ctrl+q]",
4141
consts.AppKeyMap.Tab.Help().Key,
4242
consts.AppKeyMap.Left.Help().Key,
4343
)
@@ -95,7 +95,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
9595
case key.Matches(msgType, consts.AppKeyMap.Tab),
9696
msgType.String() == "n":
9797
return m, m.getReply(m.id)
98-
case key.Matches(msgType, consts.AppKeyMap.Left):
98+
case key.Matches(msgType, consts.AppKeyMap.Left), msgType.String() == "ctrl+q":
9999
return m, messages.Post(messages.RedirectTopicsPage{})
100100
}
101101
}

0 commit comments

Comments
 (0)