https://www.boundaryml.com logo
`baml-cli init` bug?
# contributing
k
I think I might have found a bug. I'm going to create an issue in github for it. It's small, but it looks like a cursor setting is leaking through. When I run:
Copy code
uv add baml-py
baml-cli init
My settings change so that when I scroll with my mouse wheel or trackpad in terminal, it cycles through the command history instead of scrolling the terminal output.
a
That's weird. None of those commands add any
.vscode
files to change the behavior of Cursor. Share what OS you're on, version of Cursor
Are the reproduction steps just
Copy code
uv add baml-py
baml-cli init
I ran these recently and I don't remember running into that issue
k
I'm on macOS Sequoia 15.6.1 and Cursor 1.6.26
yea that's how to replicate it
I'm running it in cursor, and it adds this to my cursor settings: "cursorpyright.analysis.diagnosticSeverityOverrides": { }, but it's not adding anything to my vscode settings
what's odd is that it seems like it's only for the terminal that I ran the
baml-cli init
in. If I open a new teminal, it scrolls like normal
g
Which terminal? Cursorโ€™s?
k
yes
g
I think I saw this yesterday too, using a different terminal, ghostty
I didnโ€™t connect the dots with baml-cli init, but now that you mentioned it, that is about when my terminal started responding wrong to the mouse wheel. ๐Ÿคฏ
The init command uses some fancy ascii library to render a todo list that changes colors. Maybe this leaves the terminal in a funny state.
k
Ha glad it's not just me
g
Thank you for the report! Would you mind opening a ticket to help us track this?
k
but overall, baml is insanely good. the more I use it the more I love it
g
Fantastic. When I get a minute Iโ€™ll test the hypothesis by removing the colorful list
Thanks for the feedback! Just curious: how did you hear about BAML?
k
From a friend/coworker. He knows about it because he met Vaibhav at some sort of an mlops meetup
g
Cool. Thanks for the feedback, it's great to hear! If your work isn't too sensitive, show us how it's going and what you make in #1280993403168886896 sometime? ๐Ÿ™‚
Ok, confirmed it's he ascii thing. If I recompile baml-cli with no terminal output during
init
, the scroll behavior doesn't get messed up.
We'll have this fixed soon
a
You take it as a friday @greg (BAML) ?
g

https://y.yarn.co/7a51169e-767a-4b88-9ab2-5d04be4a2dab_text.gifโ–พ

https://github.com/BoundaryML/baml/pull/2565
a
Damn, 100x programmer speed LOL @greg (BAML)
g
We know who really fixed it ๐Ÿค–
@keving_76024 fyi this will be available in the next release, Wednesday morning.
k
you all are phenomenal. I'll add some showcases!
g
๐ŸŽ‰ Thanks Kevin ๐Ÿ™‚
p
I think I also hit this yesterday in tmux and didn't even consider it could have been related to baml lol good catch
2 Views