Commit Graph

128 Commits

Author SHA1 Message Date
Dan b2add6c26b fix(commands): error feedback, wording consistency
Found most (hopefully all) places where the error message wording
incorrectly was shown to the tune of 'no script exists', where it should
have been showing to the effect of 'script is not running'.
Also cleaned up some of the consistency in the wording and added a
'helper' export for knowing valid script extensions used in validation
of 'isScriptFilename', so we can have consistent error messaging.

Resolves danielyxie/bitburner#1966
2021-12-19 03:10:43 +00: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 ae6f8c5ee7 make tutorial better 2021-12-16 20:54:50 -05:00
Olivier Gagnon 81e291ef6a change color of terminal input 2021-12-16 20:20:07 -05:00
Olivier Gagnon 99f3566e52 bugfix 2021-12-16 20:09:19 -05:00
Billy Vong 9b64551197 Merge branch 'dev' into feat/add-ctrl-u-clear-line 2021-12-16 17:07:39 -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
Martin Fournier e8e2760c73 Fix #1880: Show git commit of bundled app 2021-12-16 15:25:59 -05:00
Olivier Gagnon 9292484ed0 minor tweak 2021-12-16 12:29:41 -05:00
Olivier Gagnon a1af0318d8 minor error message tweak 2021-12-16 12:20:04 -05:00
hydroflame b05645a61c Merge pull request #1936 from TheCoderJT/issue1920
Issue1920
2021-12-16 12:19:23 -05:00
Olivier Gagnon 52f2e52456 minor tweak to scp error message 2021-12-16 12:14:48 -05:00
Jordan Turner ac79d0aea4 adjusted the wording and added dynamic player server location 2021-12-15 17:52:08 -07:00
Jordan Turner 4836617745 made the terminal error more clear based on issue 1920 2021-12-15 17:19:45 -07:00
theit8514 8ef227595a Add support for relative paths in mv
Fixes mv command deleting file on overwrite
2021-12-15 17:46:36 -05:00
theit8514 4e022c68e9 Add support for relative paths in cp
Fix cp error messages
Add support for directory destinations (e.g. copy file.js directory)
2021-12-15 17:36:15 -05:00
Olivier Gagnon 4d80813707 bugfix 2021-12-14 15:56:11 -05:00
Olivier Gagnon 1b42b51e5f few bugfix 2021-12-13 18:44:52 -05:00
Olivier Gagnon f111beb399 rm consolelog 2021-12-03 15:20:31 -05:00
Olivier Gagnon 0b92f706ad terminal parses boolean exactly. 2021-12-03 14:46:40 -05:00
Olivier Gagnon 13b08d7cc8 terminal parses boolean exactly. 2021-12-03 14:44:32 -05:00
Olivier Gagnon 99ed9b25a3 autolink less lines 2021-12-03 14:17:29 -05:00
Olivier Gagnon 7ee5d8d71a more achievements 2021-11-28 23:51:01 -05:00
Olivier Gagnon fe3aa5a357 rm references to fconf 2021-11-26 18:05:14 -05:00
Olivier Gagnon 1cecfa7108 few fixes 2021-11-26 18:04:33 -05:00
Alain Bryden ef23033b2c #1773 - Fix duplicate file extensions
For some time now, filenames have included the extension, so there's no need to append ".js" either on a single-file download or zip download.

While I was in the area, I also fixed .txt files in a folder - they had the same bug as scripts used to (appear in the zip as an underscore). I consolidated the code since it was the same for script files and text files.

I also added the ability to download *.js and *.ns (previously only supported *, *.script, and *.txt)

I also made the wildcard matching just a bit more flexible, so if someone really wanted to, they could go "download *blah.js" and get all scripts ending with that pattern ¯\_(ツ)_/¯
2021-11-25 23:06:13 -04:00
Olivier Gagnon b80d12b9f8 v1.0.2 part 1 2021-11-19 15:44:12 -05:00
Olivier Gagnon ef781a0627 plenty of bf 2021-11-15 23:49:33 -05:00
Olivier Gagnon 275c740a16 boost terminal grow 2021-11-13 20:53:21 -05:00
Olivier Gagnon 22048d6ba6 await compiel 2021-11-13 19:35:44 -05:00
Olivier Gagnon 3112dc60c0 few more bugfixes 2021-11-11 23:28:08 -05:00
Olivier Gagnon cf2efe7698 few bugdic 2021-11-11 17:00:36 -05:00
Olivier Gagnon 3f28b066b0 working on timestamps and make netscript function highlight more specific. 2021-11-11 10:07:16 -05:00
Olivier Gagnon eb6f016ac1 fix corp softcap 2021-11-05 21:01:23 -04:00
Olivier Gagnon 88b4a7d862 bugfix 2021-11-05 17:12:52 -04:00
Olivier Gagnon 0bee743b47 v1.0.0 migration guide 2021-11-02 22:49:46 -04:00
Olivier Gagnon 6835cbaa26 fix autoc single letter flags 2021-10-27 19:21:28 -04:00
Olivier Gagnon f92db3b8f8 fix ram miscalc 2021-10-27 19:10:15 -04:00
Olivier Gagnon 48988e228e track money more precisely. 2021-10-27 14:18:33 -04: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 c1d4ced331 autocomplete 2021-10-15 13:12:18 -04:00
Olivier Gagnon 6b0e5416c4 wtf 2021-10-15 12:47:43 -04:00
Olivier Gagnon 7417ff8a10 tmp 2021-10-14 23:11:31 -04:00
Olivier Gagnon 4603216aa0 autocomplete 2021-10-14 22:36:28 -04:00
Olivier Gagnon 6b114fab7d remove unused stuff 2021-10-14 18:45:50 -04:00
Olivier Gagnon e245c2d3a7 fixed a few things 2021-10-14 02:07:05 -04:00
Olivier Gagnon b1e37acaa1 added autocomplete for scp 2021-10-11 22:35:00 -04:00