Skip to content
Permalink
Browse files

Added copy/paste

  • Loading branch information...
neauoire committed May 24, 2019
1 parent ea2bcb3 commit e51006c4f77a2eafa12d31faff9689d96a91cd12
Showing with 2 additions and 0 deletions.
  1. +2 −0 desktop/sources/scripts/commander.js
@@ -9,6 +9,8 @@ export default function Commander (terminal) {
this.operations = {
'apm': (val, run) => { if (run) { terminal.clock.set(null, parseInt(val)) } },
'bpm': (val, run) => { if (run) { terminal.clock.set(parseInt(val), parseInt(val), true) } },
'copy': (val, run) => { if (run) { terminal.cursor.copy() } },
'paste': (val, run) => { if (run) { terminal.cursor.paste(true) } },
'color': (val, run) => {
const parts = val.split(';')
if (isColor(parts[0])) { terminal.theme.active.b_med = '#' + parts[0] }

0 comments on commit e51006c

Please sign in to comment.
You can’t perform that action at this time.