File tree Expand file tree Collapse file tree
packages/wmux-client-terminal/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11node_modules
22dist
3- lib
3+ lib
4+ .collaborator
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ export const WmuxApp = (props: {
252252 if ( key . name === "r" ) {
253253 const activeCat = categories . find ( ( c ) => c . name === activeCategory ) ;
254254 const activeTab = activeCat ?. tabs . find ( ( t ) => t . id === activeTabId ) ;
255- if ( activeTab ?. status === "running" ) restartProcess ( activeTabId ) ;
255+ if ( activeTab ) restartProcess ( activeTabId ) ;
256256 return ;
257257 }
258258
@@ -285,7 +285,7 @@ export const WmuxApp = (props: {
285285 if ( firstFile ) openFile ( firstFile . path ) ;
286286 } else {
287287 const activeTab = activeCat ?. tabs . find ( ( t ) => t . id === activeTabId ) ;
288- if ( activeTab ? .status === "idle ") startProcess ( activeTabId ) ;
288+ if ( activeTab && activeTab . status !== "running ") startProcess ( activeTabId ) ;
289289 }
290290 consumePrefix ( ) ;
291291 return ;
You can’t perform that action at this time.
0 commit comments