enso/app/gui2/e2e/keyboard.ts
Kaz Wesley 6426478c97
Copy/paste improvements (#9734)
Copying nodes:
- Multiple nodes supported.
- Node comments and user-specified colors included.
- Google Sheets data can be pasted to produce a `Table` node, handled the same way as Excel data.

# Important Notes
- Fix E2E tests on OS X.
- Add E2E and unit tests for clipboard.
- Use the lexer to test text escaping; fix text escaping issues and inconsistencies.
2024-04-19 16:33:51 +00:00

5 lines
174 B
TypeScript

import os from 'os'
export const CONTROL_KEY = os.platform() === 'darwin' ? 'Meta' : 'Control'
export const DELETE_KEY = os.platform() === 'darwin' ? 'Backspace' : 'Delete'