mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
* Add function to escape a shell argument. * Keep track of the last used window. * Implement support for the open-file event. * The shell escape regex needs parentheses to be captured. * Removed lastWindow and added getLastFocusedWindow method to app * Create window create new session only if no callback passed * Added app.windowCallback to handle open-file before "ready" * Small lint fixes * Differeent open file handling: check if it is directory, and if the file is executale or not * Small fixed and added some comments * Added php-escape-shell module in place of custom escapeShellArgument() * Fixed wrong code and added detailed comment * Aliased php_escapeshellcmd import * Rebased; added error handling in OpenFile * changed string contatenation with template literal * Pinned php-escape-shell dependency * Typo fix * getLastdFocusedWindow now uses Array.prototype.reduce() * Notify users of unexisting path while open file
11 lines
558 B
JavaScript
11 lines
558 B
JavaScript
export const UI_FONT_SIZE_SET = 'UI_FONT_SIZE_SET';
|
|
export const UI_FONT_SIZE_INCR = 'UI_FONT_SIZE_INCR';
|
|
export const UI_FONT_SIZE_DECR = 'UI_FONT_SIZE_DECR';
|
|
export const UI_FONT_SIZE_RESET = 'UI_FONT_SIZE_RESET';
|
|
export const UI_FONT_SMOOTHING_SET = 'UI_FONT_SMOOTHING_SET';
|
|
export const UI_MOVE_LEFT = 'UI_MOVE_LEFT';
|
|
export const UI_MOVE_RIGHT = 'UI_MOVE_RIGHT';
|
|
export const UI_MOVE_TO = 'UI_MOVE_TO';
|
|
export const UI_SHOW_PREFERENCES = 'UI_SHOW_PREFERENCES';
|
|
export const UI_WINDOW_MOVE = 'UI_WINDOW_MOVE';
|
|
export const UI_OPEN_FILE = 'UI_OPEN_FILE';
|