mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-08 05:34:41 +02:00
* Introduce MCI cache: Art files are hashed and MCI info (per client) is cached. Term resizes invalidate the cache
* Bring in farmhash for art file hashing (and perhaps other uses soon) * Re-write of art.js display(). Better system, use MCI cache, etc. * Update package.json engines node req.
This commit is contained in:
parent
5112506e14
commit
e7ba6c406e
7 changed files with 183 additions and 10 deletions
|
@ -149,6 +149,8 @@ function SSHClient(clientConn) {
|
|||
if(termHeight > 0 && termWidth > 0) {
|
||||
self.term.termHeight = termHeight;
|
||||
self.term.termWidth = termWidth;
|
||||
|
||||
self.clearMciCache(); // term size changes = invalidate cache
|
||||
}
|
||||
|
||||
if(_.isString(info.term) && info.term.length > 0 && 'unknown' === self.term.termType) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue