You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when starting an example that uses the graphics capabilities of trygve, they only work from the GUI. For example:
trygve -c examples/breakout.k -r
Crashes with:
line 0: FATAL: Bad call to Frame (1) constructor.
In script `Frame.Frame'
Called from script `Display.Display'
Called from script `Breakout.Breakout'
Called from script `Breakout.run'
Internal error in message dispatching: no `this' pushed?<init>:929
Exception in thread "main" java.lang.AssertionError
at info.fulloo.trygve.run_time.RTMessageDispatcher.pushArgumentLoop(RTMessageDispatcher.java:270)
at info.fulloo.trygve.run_time.RTMessageDispatcher$RTNonContextToContext.<init>(RTMessageDispatcher.java:929)
at info.fulloo.trygve.run_time.RTMessageDispatcher.makeDispatcher(RTMessageDispatcher.java:87)
at info.fulloo.trygve.run_time.RTExpression$RTMessage.run(RTExpression.java:773)
at info.fulloo.trygve.run_time.RunTimeEnvironment.runner(RunTimeEnvironment.java:483)
at info.fulloo.trygve.run_time.RunTimeEnvironment.run(RunTimeEnvironment.java:235)
at info.fulloo.trygve.editor.BatchRunner.simpleRun(BatchRunner.java:61)
at info.fulloo.trygve.editor.BatchRunner.processBatch(BatchRunner.java:48)
at info.fulloo.trygve.editor.Main.main(Main.java:50)
Is there any possibility to get them working from command line as well?
The text was updated successfully, but these errors were encountered:
What would it mean if a program asked for the current cursor coordinates in a program that had been invoked from the command line (which breakout.k indeed does)?
I don’t think I understand what you are envisioning.
I thought that starting the GUI and a trygve program using graphics was basically the same thing, so it would be handled by the underlying graphics framework?
I noticed that when starting an example that uses the graphics capabilities of trygve, they only work from the GUI. For example:
trygve -c examples/breakout.k -r
Crashes with:
Is there any possibility to get them working from command line as well?
The text was updated successfully, but these errors were encountered: