-
Notifications
You must be signed in to change notification settings - Fork 20
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
Latest versions of packages x/ansi and x/input are incompatible #296
Comments
I've faced the same while packaging the project for Guix index.
It looks like this merge request introduced regression #295 |
should be fixed by #295 |
@aymanbagabas should we do releases for input and ansi? |
@ardnew @Hellseher Correct, the latest version of x/ansi introduce breaking changes. For now, use v0.4.5 @caarlos0 Yes, ansi is good for a release while input needs some work. |
there isn't much to to tag on ansi yet, I believe... maybe we tag both input and ansi together when they're both ready? $ git log --oneline ansi/v0.5.2...main -- ./ansi/
1f02199 docs(ansi): fix deprecated comments
751423f feat(ansi): implement ansi.Modes type (#288) |
Describe the bug
The latest versions of
input
andansi
are incompatible.Setup
Please complete the following information along with version numbers, if applicable.
Note: you might encounter rendering issues if your locale does not use
UTF-8
encoding. Please check your locale (locale
on POSIX systems) tosee what encoding is being used by your system.
To Reproduce
Using the
bubbletea
example fromcharmbracelet/wish
:go get -u
, so thatgo.mod
contains:github.com/charmbracelet/x/ansi v0.5.2
github.com/charmbracelet/x/input v0.2.0
go build
to yield the following output:Source Code
Use the following source code to reproduce:
Expected behavior
The example package should build without error.
Screenshots
N/A
Additional context
After reverting
ansi
back to v0.4.5, the packages build without error.The text was updated successfully, but these errors were encountered: