xtermjs / xterm.js

A terminal for the web
https://xtermjs.org/
MIT License
17.04k stars 1.6k forks source link

input length character over 80 , screen display override just one line #4990

Closed tokenwind closed 4 months ago

tokenwind commented 4 months ago

When the character length I input on the terminal exceeds 80, it displays an error. When trying to set the terminal cols parameter, it does not take effect, and when the length exceeds 80, it does not automatically wrap. image

Details

Steps to reproduce

browse termiral input

Tyriar commented 4 months ago

See https://github.com/xtermjs/xterm.js/wiki/FAQ#characters-are-being-overwritten-when-wrapped-to-a-new-line