Eugleo / magic-racket

The best coding experience for Racket in VS Code
https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket
GNU General Public License v3.0
198 stars 29 forks source link

Images From 2htdp/Images Not Displaying Properly in REPL or Terminal #124

Open andrewcincotta opened 6 months ago

andrewcincotta commented 6 months ago

Environment

Additional context

Code of My RKT File:

`;; The first three lines of this file were inserted by DrRacket. They record metadata ;; about the language level of this file in a form that our tools can easily process.

reader(lib "htdp-beginner-reader.ss" "lang")((modname |Jan 10|) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #t none #f () #f)))

(require 2htdp/image)
(circle 10 "solid" "red")` Assume there is a line break starting (require 2htdp/image) and (circle 10 "solid" "red"). Could not figure out the formatting

a-longe commented 2 weeks ago

Seems like this is the case with all images in the REPL.

When trying to use the plot library, instead of showing the desired graph it just prints "(object:2d-plot-snip% ... ...)"

> (require plot)
> (plot (function sin -5 5))
(object:2d-plot-snip% ... ...)