Commit Graph

73 Commits

Author SHA1 Message Date
Snarling 21a2d49de7 Finish removing player passing 2022-09-27 15:35:41 -04:00
Snarling 91a69d7d8f format & lint 2022-09-27 15:35:40 -04:00
Snarling 83d357e758 commit1 2022-09-27 15:35:40 -04:00
Mughur d99d37f191 Bunch of corporation fixes 2022-09-23 13:13:33 +03:00
G4mingJon4s 22a35af6b6 Added hover style change for better recognition 2022-09-14 15:59:55 +02:00
G4mingJon4s c29b4cfda9 Fixes #2795, adding better underlines for links 2022-09-13 20:09:58 +02:00
Olivier Gagnon 759de85559 Fix unique key problem with ascii elements 2022-08-29 16:59:38 -04:00
hydroflame d2c92c4116 Merge pull request #3881 from evil-tim/ctrl-c-bash-hotkey
UI: Fix #3854 ctrl+c does not clear terminal input
2022-07-21 01:27:03 -04:00
Olivier Gagnon ad098e1f05 refactor ANSII colors into it's own component 2022-07-14 16:25:20 -04:00
James Villegas 6d8a3e192b Update ctrl+c hotkey to print current text to terminal without executing it to mimic real terminal behavior 2022-07-07 08:11:34 +08:00
James Villegas 6c026e6d5c Ignore ctrl+c bash hotkey if user has selected text to allow copying 2022-07-03 12:18:47 +08:00
James Villegas 9efb209ea3 Implement ctrl+c bash hotkey to clear current input 2022-07-03 11:49:45 +08:00
Olivier Gagnon 36c7ef1ad7 support ASNI 2022-05-04 12:21:16 -04:00
Zoë Hoekstra 016a9a873f Add keycode table and switch to event.code in select places 2022-05-03 15:59:46 +02:00
Snarling 5898e27529 Change alignment of autocomplete popper 2022-04-20 09:19:33 -04:00
Snarling f466a880eb Fix style + Format/Lint 2022-04-18 07:55:59 -04:00
Snarling 02ccda197c WIP 2022-04-18 07:41:09 -04:00
Olivier Gagnon 48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
phyzical c681828ec1 few more event key. constant refactors 2022-03-24 23:09:24 +08:00
Olivier Gagnon 05fe14a5ed Fix some key not working 2022-03-20 23:11:26 -04:00
Master-Guy 9dd933ecee Changed .keyCode to .key for files in "src" 2022-03-18 10:43:56 +01:00
BB 2f4d879c16 Trailing whitespace and files not ending with \n are now illegal 2022-03-08 22:51:02 +01:00
Martin Fournier e7aa977eb0 Persist terminal command history in game save
Copy the terminal commands into the player object so that they are saved
between game reloads.

Adds a 'history' command to display history, and a 'history -c' command
to clear it from both the current terminal & the player's save.
2022-01-23 17:09:54 -05:00
Martin Fournier aa3a253b14 Cancel debounced events on terminal unmount 2022-01-14 14:32:30 -05:00
Frank-py 73adc71965 Updated Terminal.tsx to add keypress event.
Added keypress event to delete the word after input by pressing "alt" + "d".
2021-12-25 23:11:21 +01:00
hydroflame c723c7ecd2 Merge pull request #1957 from billyvg/feat/add-ctrl-u-clear-line
feat: Add `ctrl+u/k/w` hotkeys
2021-12-18 14:35:12 -05:00
Olivier Gagnon 81e291ef6a change color of terminal input 2021-12-16 20:20:07 -05:00
Billy Vong 2e9a42d74c add comment 2021-12-16 17:03:49 -05:00
Billy Vong 2804b6ae56 remove console 2021-12-16 17:03:15 -05:00
Billy Vong d4bf6100a3 feat: Add ctrl+u/k/w hotkeys
Adds the `ctrl+u/k/w` hotkeys to clear line before and after, as well as deleting word before cursor. I implemented deleting word after cursor, but I have not repod the functionality in bash, so I did not add the hotkey.
2021-12-16 16:59:24 -05:00
Olivier Gagnon fe3aa5a357 rm references to fconf 2021-11-26 18:05:14 -05:00
Olivier Gagnon b80d12b9f8 v1.0.2 part 1 2021-11-19 15:44:12 -05:00
Olivier Gagnon 504ee46950 terminal colors 2021-10-26 20:26:05 -04:00
Olivier Gagnon d6ea9c55b1 fixed folder adding space in autocom 2021-10-15 18:33:27 -04:00
Olivier Gagnon 4603216aa0 autocomplete 2021-10-14 22:36:28 -04:00
Olivier Gagnon 33ea31be87 convert autocomplete to tooltip 2021-10-04 17:52:20 -04:00
Olivier Gagnon cc02701e97 fix autolink wrong font 2021-10-01 16:42:07 -04:00
Olivier Gagnon 4e8bb96f3f removing some of the classes 2021-10-01 13:08:37 -04:00
Olivier Gagnon c5713fa6d8 learned and implemented default props 2021-09-29 01:49:22 -04:00
Olivier Gagnon 06f716c0fa moved a bunch of files 2021-09-25 14:42:57 -04:00
Olivier Gagnon 1d349c25f7 imrpove terminal performance 2021-09-24 19:12:53 -04:00
Olivier Gagnon ec33fb411c fix scripts not dying 2021-09-24 19:09:19 -04:00
Olivier Gagnon a32b8eabe3 SaveObject in ts 2021-09-24 18:40:17 -04:00
Olivier Gagnon b8faa9dc0b convert player to ts 2021-09-23 18:47:43 -04:00
Olivier Gagnon 66a2adaeb4 update prettier 2021-09-22 12:56:55 -04:00
Olivier Gagnon 558b671206 few bugfix 2021-09-22 11:32:04 -04:00
Olivier Gagnon f9a4eadb71 removed some of fconf 2021-09-22 01:36:17 -04:00
Olivier Gagnon 55901f0574 Let player copy terminal 2021-09-22 00:57:37 -04:00
Olivier Gagnon a3e624deba remove ns2 example doing DOM manip 2021-09-20 00:14:30 -04:00
Olivier Gagnon ce3898367c remove unused css file 2021-09-19 03:38:43 -04:00