Skip to content

Commit 85a3d63

Browse files
author
Jonathan Yannes
committed
reformatted some code
1 parent 16a4f37 commit 85a3d63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/react-web-terminal/react-web-terminal.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import React from 'react';
22

33
import {getKey} from './key-prop-support';
44

5-
const nonCharKeys = ['Backspace', 'Tab', 'Clear', 'Enter', 'Shift', 'Control', 'Alt', 'CapsLock', 'Escape', 'PageUp', 'PageDown', 'End', 'Home', 'Delete', 'Meta', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'F13', 'F14', 'F15', 'F16', 'F17', 'F18', 'F19'];
5+
const nonCharKeys = [
6+
'Backspace', 'Tab', 'Clear', 'Enter', 'Shift', 'Control', 'Alt', 'CapsLock', 'Escape', 'PageUp', 'PageDown', 'End', 'Home', 'Delete', 'Meta',
7+
'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'F13', 'F14', 'F15', 'F16', 'F17', 'F18', 'F19'
8+
];
69

710
export default class WebTerminal extends React.Component {
811
// TODO add inline styles so they can be changed dynamically

0 commit comments

Comments
 (0)