Skip to content

Commit f9f9694

Browse files
authored
Merge pull request #16 from seth-shi/fix/mouse-select
fix: mouse select text
2 parents 74e8a69 + a6e958c commit f9f9694

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
* 下载最新版本二进制文件
88

9-
| 系统 | CPU 架构 | 下载链接 |
10-
|---------|------------|----------------------------------------------------------------------------------------------------------------------------|
11-
| Mac | amd64 | [go-v2ex-darwin-amd64.tar.gz](https://github.com/seth-shi/go-v2ex/v2/releases/latest/download/go-v2ex-darwin-amd64.tar.gz) |
12-
| Mac | arm64 | [go-v2ex-darwin-arm64.tar.gz](https://github.com/seth-shi/go-v2ex/v2/releases/latest/download/go-v2ex-darwin-arm64.tar.gz) |
13-
| Linux | amd64 | [go-v2ex-linux-amd64.tar.gz](https://github.com/seth-shi/go-v2ex/v2/releases/latest/download/go-v2ex-linux-amd64.tar.gz) |
14-
| Linux | arm64 | [go-v2ex-linux-arm64.tar.gz](https://github.com/seth-shi/go-v2ex/v2/releases/latest/download/go-v2ex-linux-arm64.tar.gz) |
15-
| Windows | amd64 | [go-v2ex-windows-amd64.zip](https://github.com/seth-shi/go-v2ex/v2/releases/latest/download/go-v2ex-windows-amd64.zip) |
16-
| Go | 直装(免配环境变量) | `go install github.com/seth-shi/go-v2ex/v2@latest` |
9+
| 系统 | CPU 架构 | 下载链接 |
10+
|---------|------------|-------------------------------------------------------------------------------------------------------------------------|
11+
| Mac | amd64 | [go-v2ex-darwin-amd64.tar.gz](https://github.com/seth-shi/go-v2ex/releases/latest/download/go-v2ex-darwin-amd64.tar.gz) |
12+
| Mac | arm64 | [go-v2ex-darwin-arm64.tar.gz](https://github.com/seth-shi/go-v2ex/releases/latest/download/go-v2ex-darwin-arm64.tar.gz) |
13+
| Linux | amd64 | [go-v2ex-linux-amd64.tar.gz](https://github.com/seth-shi/go-v2ex/releases/latest/download/go-v2ex-linux-amd64.tar.gz) |
14+
| Linux | arm64 | [go-v2ex-linux-arm64.tar.gz](https://github.com/seth-shi/go-v2ex/releases/latest/download/go-v2ex-linux-arm64.tar.gz) |
15+
| Windows | amd64 | [go-v2ex-windows-amd64.zip](https://github.com/seth-shi/go-v2ex/releases/latest/download/go-v2ex-windows-amd64.zip) |
16+
| Go | 直装(免配环境变量) | `go install github.com/seth-shi/go-v2ex/v2@latest` |
1717
* 解压压缩包中的二进制文件放到环境变量目录
1818
* 运行 `go-v2ex` 命令即可启动程序。
1919

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ func main() {
1515

1616
// 初始化到开平页面
1717
s := pages.NewUI(appVersion)
18-
lo.Must1(tea.NewProgram(s, tea.WithAltScreen(), tea.WithMouseCellMotion()).Run())
18+
lo.Must1(tea.NewProgram(s, tea.WithAltScreen()).Run())
1919
}

pages/ui_footer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ func NewFooter(appVersion string) FooterComponents {
4949
statusbar.ColorConfig{
5050
// 辅助区2
5151
Foreground: lipgloss.AdaptiveColor{Dark: "#EEEEEE", Light: "#EEEEEE"},
52-
Background: lipgloss.AdaptiveColor{Light: "#A2A2A2", Dark: "#A2A2A2"},
52+
Background: lipgloss.AdaptiveColor{Light: "#636e72", Dark: "#636e72"},
5353
},
5454
statusbar.ColorConfig{
5555
// 强调区
5656
Foreground: lipgloss.AdaptiveColor{Dark: "#FFFFFF", Light: "#FFFFFF"},
57-
Background: lipgloss.AdaptiveColor{Light: "#A2A2A2", Dark: "#A2A2A2"},
57+
Background: lipgloss.AdaptiveColor{Light: "#636e72", Dark: "#636e72"},
5858
},
5959
)
6060

styles/hint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import (
55
)
66

77
var (
8-
Hint = lipgloss.NewStyle().Foreground(lipgloss.Color("#D0D0D0"))
8+
Hint = lipgloss.NewStyle().Foreground(lipgloss.Color("#636e72"))
99
)

0 commit comments

Comments
 (0)