mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-01 23:41:57 +02:00
* Try to handle socket error
* Fix bug in wrapping with MultiLineEditText * Updates on message base DB layout/triggers * Detect some terminals via ANSI DSR for device attributes (WIP)
This commit is contained in:
parent
2b963ce6f9
commit
40e0b55424
7 changed files with 83 additions and 11 deletions
|
@ -92,6 +92,13 @@ function connectEntry(client) {
|
|||
// :TODO: Enthral for example queries cursor position & checks if it worked. This might be good
|
||||
// :TODO: How to detect e.g. if show/hide cursor can work? Probably can if CPR is avail
|
||||
|
||||
//
|
||||
// Some terminal clients can be detected using a nonstandard ANSI DSR
|
||||
//
|
||||
term.rawWrite(ansi.queryDeviceAttributes(0));
|
||||
|
||||
// :TODO: PuTTY will apparently respond with "PuTTY" if a CTRL-E is sent to it
|
||||
|
||||
//
|
||||
// If we don't yet know the client term width/height,
|
||||
// try with a nonstandard ANSI DSR type request.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue