Run as terminal without a window?
Is it possible to run it as an console application without a window? If so how to? Thanks for the Open Source!
Hopefully the email reply via mobile works (I'm out and about). You can use
either the crossterm or curses support, In Cargo.toml, specify bracket-lib = { version = "0.8"m default-features = false, features = [ "crossterm" ] }. Not every feature works (things like sprites wouldn't make sense), but
it's not bad.
On Sun, Jan 23, 2022 at 2:35 PM Wandalen @.***> wrote:
Is it possible to run it as an console application without a window? If so how to? Thanks for the Open Source!
— Reply to this email directly, view it on GitHub https://github.com/amethyst/bracket-lib/issues/256, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRU433HMB4NY4EMEPKAVYTUXRRAPANCNFSM5MTZDGWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks for the reply. Any example in the repo?
I was hitting on this problem as well. Unfortunately, if we use the following line in Cargo.toml:
bracket-lib = { version = "0.8.1", default-features = false, features = [ "crossterm" ] }
Compiling would immediately fail at this line, due to importing OpenGL related modules without proper target conditions setup. Other errors also occur, which I would assume similar reasons.
Which brings me to the same question as the issue creator: is anyone aware of a working example using current version of bracket-lib enabling crossterm feature, but disabling the default opengl feature?
Hi @xxuejie which sample do you use? All samples I try creates a new window. Is there any sample which use window of the current terminal instead?