Hi Mathieu,

Mathieu Othacehe <m.othac...@gmail.com> skribis:

> +       ;; Initialize 'terminal-width' in (system repl debug)
> +       ;; to a large-enough value to make backtrace more
> +       ;; verbose.
> +       (setenv "COLUMNS" "200")

What about instead doing something like this:

  (use-modules ((system repl debug) #:select (terminal-width)))

  (with-fluids ((terminal-width 200))
    …)

?

That would ensure we’re only changing Guile’s notion of the terminal
width and not interfering with other tools we might launch as child
processes.

Thoughts?

Ludo’.



Reply via email to