mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
* pass `uid` to term * term: keep track of term instance references * sessions: remvoe `write` object overhead * hterm: cache measurement of codepoints for single char strings * sessions: merge less eagerly when we receive a PTY_DATA action * store: handle the side effect of writing to the terminal from a middleware * terms: add terms instance cache * lint
9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
// react Term components add themselves
|
|
// to this object upon mounting / unmounting
|
|
// this is to allow imperative access to the
|
|
// term API, which is a performance
|
|
// optimization for the most common action
|
|
// within the system
|
|
|
|
const terms = {};
|
|
export default terms;
|