crossterm icon indicating copy to clipboard operation
crossterm copied to clipboard

emacs term mode (and many other terminals?) not supported

Open PerBothner opened this issue 3 years ago • 0 comments

The claim "supports all UNIX terminals" should probably be changed to something like "supports most modern terminal emulators that use xterm-style escape sequences". I don't see anything in the code that checks the terminfo datebase so unless I'm missing something there is no way crossterm can support older or more idiosyncratic terminals.

Specifically, I tried running nushell (which uses crossterm) under both term and ansi-term modes of the Emacs editor. It failed pretty badly. These modes implement a simple ansi/vtxxx-style terminal, and are admittedly very basic. However, readline, vim, and nested emacs work.

It's fine if you don't want to support older terminals, of course.

PerBothner avatar May 31 '22 20:05 PerBothner