-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: KeyMsg -> KeyPressMsg #600
Conversation
Looking into why the test is failing |
Tests aren't passing on this branch - terminal color codes don't work. Need to fix that before it's ready :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if !m.MouseWheelEnabled || msg.Action != tea.MouseActionPress { | ||
break | ||
} | ||
case tea.MouseWheelMsg: | ||
switch msg.Button { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With charmbracelet/bubbletea#1111, this is going to be msg.Button()
@aymanbagabas do you have any thoughts on the colour issue? It seems the v2-exp lipgloss branch loses support for ansi colour codes as you can see when you run the tests on this branch. It doesn't handle ints like it used to for lipgloss.Color |
on Bubble Tea |
swapping out |
fwiw, i've pushed these changes to |
@aymanbagabas kk sounds good! I'll close this PR then |
Cherry picked a single commit with changes from
alpha branch
with latest master