mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28: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 () => {
|
||||
const enhancer = compose(
|
||||
applyMiddleware(thunk, plugins.middleware, thunk, effects, writeMiddleware),
|
||||
applyMiddleware(thunk, plugins.middleware, thunk, writeMiddleware, effects),
|
||||
window.devToolsExtension()
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ import * as plugins from '../utils/plugins';
|
|||
import writeMiddleware from './write-middleware';
|
||||
|
||||
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') {
|
||||
const term = terms[action.uid];
|
||||
if (term) {
|
||||
term.write(action.data);
|
||||
term.term.write(action.data);
|
||||
}
|
||||
}
|
||||
next(action);
|
||||
|
|
|
|||
Loading…
Reference in a new issue