From e39143e4cdbe9b2e3e0d9a20ebb7e489d7b7759b Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Thu, 7 Jul 2016 14:37:28 -0700 Subject: [PATCH] hyperterm: exit after editing --- app/hyperterm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hyperterm.js b/app/hyperterm.js index 12641d79..a1c13f83 100644 --- a/app/hyperterm.js +++ b/app/hyperterm.js @@ -293,7 +293,7 @@ export default class HyperTerm extends Component { this.rpc.removeListener('data', ondata); this.rpc.emit('data', { uid, data: '# Attempting to open ~/.hyperterm.js with your $EDITOR\n' + '# If this doesn\'t work, open it manually with your favorite editor!\n' + - '$EDITOR ~/.hyperterm.js\n' }); + '$EDITOR ~/.hyperterm.js && exit\n' }); }; this.rpc.on('data', ondata); };