Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
7

Repl.run for a separate display (Polygott/C++)

SPQR
SPQR

I'm trying to use SDL with repl.it, I'm hoping to run my program's window in a separate tab, such as in repl.run for terminal applications. Having to open it and maximize it manually in repl.it every time i want to run it is less than optimal. If you're not sure what i mean by the program's window, just run my program.

(right now the program doesn't really do anything yet. It's not supposed to.)

4 years ago

Voters

Comments

TopNew
2
hppanpaliya
hppanpaliya

Invalid image url

2 years ago
1
ecsbeats
ecsbeats

Found a solution:

Append ?embed=1&output=1 to your project URL. For example in this project: https://replit.com/@SPQR/SDL-test?embed=1&output=1

Source: https://docs.replit.com/repls/repl-run

1 year ago
1
rrsbrowndogs
rrsbrowndogs

Did you ever find a solution to this? I want to do this too.
I don't know what technology repl it uses for sending the screen information (maybe websockets?). But I imagine if one knew, it would be possible to initiate a connection with perhaps different parameters such as resolution (and maybe refresh rate, so it could be less laggy). Then again it could be all of that is wrong.

3 years ago
1
SPQR
SPQR

@rrsbrowndogs
I never did find a solution, unfortunately.

3 years ago
Load more