Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengyangliu committed Jul 3, 2024
2 parents 91c4815 + 8233794 commit 59e7d7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/containers/hardware-console.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ class HardwareConsole extends React.Component {
const keyCode = e.keyCode || e.which || e.charCode;
const ctrlKey = e.ctrlKey || e.metaKey;

e.preventDefault();

// Ctrl + A
if (keyCode === 65 && ctrlKey) {
this.writeToPeripheral(String.fromCharCode(1));
Expand Down

0 comments on commit 59e7d7d

Please sign in to comment.