mikecargal

mikecargal

Hands-on Rust: Bracket-lib on Mac OS issue

Please use the following format for the title of this thread (then simply delete/replace this text with the content for the thread):

Title: Hands-on Rust (page number ?? (ePub))

(may not be a problem so much with text of book)

When running examples using Bracket-lib on Mac OS, I always get the following logged out to my terminal…

2020-11-19 15:56:29.649 dungeoncrawl[23603:3643367] NSKeyBindingManager: Bad key binding atom for '$\UF72B' = 'moveToEndOfLineAndModifySelection:'
2020-11-19 15:56:29.650 dungeoncrawl[23603:3643367] NSKeyBindingManager: Bad key binding atom for '$\UF729' = 'moveToBeginningOfLineAndModifySelection:'
2020-11-19 15:56:29.650 dungeoncrawl[23603:3643367] NSKeyBindingManager: Bad key binding atom for '\UF72B' = 'moveToEndOfLine:'
2020-11-19 15:56:29.650 dungeoncrawl[23603:3643367] NSKeyBindingManager: Bad key binding atom for '\UF729' = 'moveToBeginningOfLine:'
2020-11-19 15:56:29.650 dungeoncrawl[23603:3643367] NSKeyBindingManager: Bad key binding atom for '\UF72C' = 'pageUp:'
2020-11-19 15:56:29.650 dungeoncrawl[23603:3643367] NSKeyBindingManager: Bad key binding atom for '\UF72D' = 'pageDown:'

Most Liked

mikecargal

mikecargal

related (in that it looks like it’s a bracket-lib issue with MacOS)

Big Sur is now rounding the bottom corner of the terminal window, so characters there are not fully rendered:

I know… that made your day…

herbert

herbert

Author of Hands-on Rust

I’ve made some progress on this at the library level. It looks like some of the bindings changed, and OS X spits out warnings as a result. The in-development version binds to a newer winit which resolved that. Still working on the gutter, and newly-discovered issues compiling to Apple’s new M1 chip natively (it’s fixed upstream, but I can’t fix it until upstream publishes a crate on which I can depend). The issues are being tracked at https://github.com/thebracket/bracket-lib/issues/171

herbert

herbert

Author of Hands-on Rust

Thanks for reporting it! I’ve logged it in the issue tracker. That’s an odd one. Bracket-lib uses winit for keyboard handling, and I haven’t had any reports of Macs doing that (I’ll see if I can borrow one at the weekend to try and reproduce the issue). It’s really curious, because I don’t think we’re even using most of those bindings?

Popular Pragmatic topics Top

New
telemachus
Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks” While running the smoke tests in Chapter 2, I get these...
New
yulkin
your book suggests to use Image.toByteData() to convert image to bytes, however I get the following error: "the getter ‘toByteData’ isn’t...
New
New
leba0495
Hello! Thanks for the great book. I was attempting the Trie (chap 17) exercises and for number 4 the solution provided for the autocorre...
New
adamwoolhether
When trying to generate the protobuf .go file, I receive this error: Unknown flag: --go_opt libprotoc 3.12.3 MacOS 11.3.1 Googling ...
New
leonW
I ran this command after installing the sample application: $ cards add do something --owner Brian And got a file not found error: Fil...
New
AndyDavis3416
@noelrappin Running the webpack dev server, I receive the following warning: ERROR in tsconfig.json TS18003: No inputs were found in c...
New
nicoatridge
Hi, I have just acquired Michael Fazio’s “Kotlin and Android Development” to learn about game programming for Android. I have a game in p...
New
tkhobbes
After some hassle, I was able to finally run bin/setup, now I have started the rails server but I get this error message right when I vis...
New

Other popular topics Top

AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
PragmaticBookshelf
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
AstonJ
Seems like a lot of people caught it - just wondered whether any of you did? As far as I know I didn’t, but it wouldn’t surprise me if I...
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
PragmaticBookshelf
Author Spotlight Erin Dees @undees Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New
PragmaticBookshelf
Author Spotlight: Karl Stolley @karlstolley Logic! Rhetoric! Prag! Wow, what a combination. In this spotlight, we sit down with Karl ...
New
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New

Latest in PragProg

View all threads ❯