Julia: Manual line wrapping of exceptions looks bad on narrow terminal

Created on 4 Sep 2016  路  2Comments  路  Source: JuliaLang/julia

This is a rather minor point, but I think showerror exceptions would look better if the terminal emulator were allowed to wrap them instead of being manually line-wrapped. This is especially the case on narrow terminals:

I think it might be better just to print all the explanatory text on one line. Thoughts?

display and printing help wanted

Most helpful comment

If you print it as a single line the terminal will break it in the middle of words, so that won't look very good either, but it may make sense to re-wrap to the column width specified by tty_size().

All 2 comments

If you print it as a single line the terminal will break it in the middle of words, so that won't look very good either, but it may make sense to re-wrap to the column width specified by tty_size().

Might make sense to hook into the mimetype system more thoroughly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tkoolen picture tkoolen  路  3Comments

musm picture musm  路  3Comments

wilburtownsend picture wilburtownsend  路  3Comments

TotalVerb picture TotalVerb  路  3Comments

ararslan picture ararslan  路  3Comments