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
Dream.run, if not called with adjust_terminal:false, sets some terminal settings, and then tries to restore them on exit (code below).
We have switched to Ctrl+C for exit. Are the settings being restored during exit by Ctrl+C? This can be checked by inserting a print_endline into the restore_terminal function, and just making sure the print occurs.
@thangngoc89 reported Dream messing with the terminal somehow inside tmux, where TERM wasn't originally xterm-256color. Is the way Dream is changing the settings portable across terminal emulation modes?
In the future, either the log will be terminal width-aware, or we will probably just use dumb line wrapping, and always behave as if adjust_terminal:false at the Dream.run level.
Dream.run
, if not called withadjust_terminal:false
, sets some terminal settings, and then tries to restore them on exit (code below).print_endline
into therestore_terminal
function, and just making sure the print occurs.TERM
wasn't originallyxterm-256color
. Is the way Dream is changing the settings portable across terminal emulation modes?In the future, either the log will be terminal width-aware, or we will probably just use dumb line wrapping, and always behave as if
adjust_terminal:false
at theDream.run
level.dream/src/http/http.ml
Lines 818 to 838 in b8a46f4
The text was updated successfully, but these errors were encountered: