mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38:41 -09:00
pty data events related perf improvements
This commit is contained in:
parent
5ab064ff64
commit
19f53550ea
3 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ import writeMiddleware from './write-middleware';
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
const enhancer = compose(
|
const enhancer = compose(
|
||||||
applyMiddleware(thunk, plugins.middleware, thunk, effects, writeMiddleware),
|
applyMiddleware(thunk, plugins.middleware, thunk, writeMiddleware, effects),
|
||||||
window.devToolsExtension()
|
window.devToolsExtension()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@ import * as plugins from '../utils/plugins';
|
||||||
import writeMiddleware from './write-middleware';
|
import writeMiddleware from './write-middleware';
|
||||||
|
|
||||||
export default () =>
|
export default () =>
|
||||||
createStore(rootReducer, applyMiddleware(thunk, plugins.middleware, thunk, effects, writeMiddleware));
|
createStore(rootReducer, applyMiddleware(thunk, plugins.middleware, thunk, writeMiddleware, effects));
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ export default () => next => action => {
|
||||||
if (action.type === 'SESSION_PTY_DATA') {
|
if (action.type === 'SESSION_PTY_DATA') {
|
||||||
const term = terms[action.uid];
|
const term = terms[action.uid];
|
||||||
if (term) {
|
if (term) {
|
||||||
term.write(action.data);
|
term.term.write(action.data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
next(action);
|
next(action);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue