Commit graph

59 commits

Author SHA1 Message Date
anseki
b8e194e743 Utility Methods 2015-04-15 01:05:24 +09:00
anseki
bdd72b0037 Add displayOnly 2015-04-13 15:55:33 +09:00
anseki
d94e61388f limit trueValue falseValue accept function 2015-04-11 12:11:52 +09:00
anseki
feb0cf4f5c Pass encoded values to External Program. 2015-04-08 17:33:53 +09:00
anseki
cc0cfa5044 Add placeholder 2015-04-07 18:38:14 +09:00
anseki
008f31fb6d Add options.isTrue, options.isFalse. 2015-04-05 23:14:48 +09:00
anseki
acc9db05cb Add options.limitMessage. 2015-04-05 20:05:23 +09:00
anseki
e521609b5e Change normal options.limit type to array. 2015-04-05 18:11:30 +09:00
anseki
de4f2b2ffd Change: option name bufSize -> bufferSize 2015-04-05 15:39:16 +09:00
anseki
efc4b8837c Add setDefault. 2015-04-05 14:45:42 +09:00
anseki
a60336df9b Change: way to manage options data 2015-04-05 00:37:42 +09:00
anseki
e623c8eb21 Add keyIn, limit and caseSensitive to README 2015-04-04 15:50:36 +09:00
anseki
63e5ad583e Add: options.limit, options.caseSensitive 2015-04-04 01:14:55 +09:00
anseki
6dffd81b65 Fix: keyIn gets NL 2015-04-01 16:34:31 +09:00
anseki
4037ba9845 Check calling print 2015-03-31 20:27:02 +09:00
anseki
2f091b829c Change the way to exit from input. 2015-03-30 19:36:31 +09:00
anseki
5f2410132b rewrite read.sh 2015-03-29 23:45:55 +09:00
anseki
16db4b4c1c encode arg for cscript 2015-03-27 21:12:00 +09:00
anseki
67d20da312 Rewrite code that call external programs. 2015-03-27 20:25:59 +09:00
anseki
e49c13d677 Don't write an undesired line-break. 2015-03-25 21:22:44 +09:00
anseki
b3d633cb1c It's no longer only the shell since v0.7.8, and change the names. 2015-03-25 16:56:43 +09:00
anseki
a7bb63d3e3 Check that mask is '' 2015-03-22 14:11:55 +09:00
anseki
95d2e9f088 Add setMask. 2015-03-20 20:34:18 +09:00
anseki
ecd6846f7c Change: rewrite code to open TTY 2015-03-20 12:03:58 +09:00
anseki
583cb4048a Add more infomations to error object 2015-03-17 12:11:46 +09:00
anseki
8e141597ba fixed #14 Replace BAT with WSH 2015-03-13 18:34:41 +09:00
anseki
2d29dc0c8a Fix: options ref 2015-03-13 00:59:30 +09:00
anseki
16c0c476cd Add display to shell script. 2015-03-11 17:06:27 +09:00
anseki
e552f97db1 Try to get Windows shell-path from environment variables. 2015-03-08 13:54:55 +09:00
anseki
f5d4a8231f Change a method to open TTY. 2015-03-08 00:19:40 +09:00
anseki
b27ad119ae Change Error object thrown. 2015-03-06 15:23:32 +09:00
anseki
a6039bcf36 Recover bug of ScriptPW.Password 2015-03-05 17:39:46 +09:00
anseki
7a37871966 Change: print \n whith read -s 2015-03-04 20:58:55 +09:00
anseki
fc50c96368 Fix: Can't get error from shell 2015-03-04 02:30:41 +09:00
anseki
9e8a318880 fixed #13 Error on Node v0.11+ 2015-03-02 22:44:36 +09:00
anseki
0c784f6533 Add keyIn(). 2015-03-01 23:46:52 +09:00
anseki
8072feb5ca Change default bufSize: 1024 2015-02-22 22:23:46 +09:00
anseki
c1255a429c Add: setBufferSize 2015-02-22 20:57:07 +09:00
anseki
ab94a1ea2b Support the Synchronous Process Execution of Node v0.12(v0.11). 2015-02-12 07:39:59 +09:00
anseki
995f22b4bf Change: read by using PowerShell or ScriptPW in DOS. 2015-02-12 04:44:05 +09:00
anseki
ca90461c57 Fix: The leading and trailing white spaces are removed 2015-02-10 22:39:14 +09:00
anseki
e9714a9a0a Add options.noTrim. 2015-01-27 01:11:25 +09:00
anseki
d406cc1c19 fixed #9: Error of stty in read.sh. 2014-09-12 23:23:04 +09:00
anseki
e3607ad0e1 Add README.md > Note > Reading by shell 2014-08-21 16:23:39 +09:00
anseki
03cdd60eb6 Fix: setPrompt() changes prompt to '' if no argument. 2014-07-13 21:43:54 +09:00
anseki
34c192b0bc Add controls algorithm (encrypt.js) 2014-07-13 15:32:02 +09:00
anseki
eeb0770459 fixed #6 2014-07-13 13:55:17 +09:00
anseki
8d9aca03f8 setPrompt() and setEncoding() return current value. 2014-07-12 08:56:21 +09:00
anseki
cabbc1ffea setPrompt() and question() accept the value which is not string too (e.g. number, Date, Object, etc.). 2014-07-12 08:16:11 +09:00
anseki
055e4b3060 Add options.noEchoBack. 2014-07-12 07:37:25 +09:00