mirror of
https://github.com/sst/opencode.git
synced 2025-07-24 08:15:04 +00:00
fix(tui): slightly faster scroll speed
This commit is contained in:
parent
dd34556e9c
commit
bd244f73af
1 changed files with 1 additions and 0 deletions
|
@ -616,6 +616,7 @@ func (m *messagesComponent) CopyLastMessage() (tea.Model, tea.Cmd) {
|
|||
func NewMessagesComponent(app *app.App) MessagesComponent {
|
||||
vp := viewport.New()
|
||||
vp.KeyMap = viewport.KeyMap{}
|
||||
vp.MouseWheelDelta = 4
|
||||
|
||||
return &messagesComponent{
|
||||
app: app,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue