plugeth/cmd/utils
Felix Lange dff9b4246f cmd/geth, cmd/utils: improve input handling
These changes make prompting behave consistently on all platforms:

* The input buffer is now global.
  Buffering was previously set up for each prompt, which can cause weird
  behaviour, e.g. when running "geth account update <input.txt" where
  input.txt contains three lines. In this case, the first password
  prompt would fill up the buffer with all lines and then use only the
  first one.

* Print the "unsupported terminal" warning only once.
  Now that stdin prompting has global state, we can use it to track
  the warning there.

* Work around small liner issues, particularly on Windows.
  Prompting didn't work under most of the third-party terminal emulators
  on Windows because liner assumes line editing is always available.
2016-04-12 15:56:49 +02:00
..
bootnodes.go cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks 2015-11-27 11:06:12 +02:00
client.go cmd, node, rpc: readd inproc RPC client, expose via node 2016-02-09 14:10:40 +02:00
cmd.go cmd/geth, cmd/utils: improve input handling 2016-04-12 15:56:49 +02:00
customflags_test.go cmd/utils: fix path expansion on windows 2015-08-06 17:18:59 +02:00
customflags.go cmd/utils: fix path expansion on windows 2015-08-06 17:18:59 +02:00
fdlimit_test.go cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache 2016-03-09 10:33:39 +02:00
fdlimit_unix.go cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache 2016-03-09 10:33:39 +02:00
fdlimit_windows.go cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache 2016-03-09 10:33:39 +02:00
flags.go Merge pull request #2359 from bas-vk/rpc-optional-args 2016-04-12 14:03:21 +02:00
input.go cmd/geth, cmd/utils: improve input handling 2016-04-12 15:56:49 +02:00
jeth.go cmd/geth, cmd/utils: improve input handling 2016-04-12 15:56:49 +02:00