Commit Graph
14 Commits
Author SHA1 Message Date
Jethro Grassie 26c569d6f6 add disclaimer about 3rd party packages
Demoted the 3rd party maintained package installs to after compiling
from repository source and removed the broken Homebrew package
instructions.
2018-06-16 09:39:28 -04:00
Jethro Grassie a4b50a6f51 handle ^D and ^C while password prompting 2018-02-10 18:29:49 -05:00
Jethro Grassie 21bd21576d remove unnecessary include 2018-01-18 19:03:05 -05:00
Jethro Grassie be1826c0fb Keep readline optional 2018-01-11 13:51:13 -05:00
Jethro Grassie 0e93b0986c Add checks for termcap if needed by readline 2018-01-02 13:26:22 -05:00
Jethro Grassie 1249a2a550 Construct on first use for completion_commands 2017-08-16 09:34:32 -04:00
Jethro Grassie 67dd4933e6 Add sync lock on stop
Also added and moved two free's hoping to fix leaks.
2017-08-16 08:58:12 -04:00
Jethro Grassie d75cff1a0e Fix readline prompt when command does not output 2017-07-24 09:54:27 -04:00
Jethro Grassie 6955976b2d Add various readline related fixes
- Add missing unbind key
- Fix colored messages
- Add command completion
- Preserve last command input
- Fix cursor position issues
- Fix trailing whitespace in commands
- Synchronize set_prompt
2017-07-09 09:50:04 -04:00
Jethro Grassie 6a23cd07aa Add notification on stop 2017-07-07 07:59:07 -04:00
Jethro Grassie be9d4f0411 Fix multiline wallet cli output with readline
monero-wallet-cli commands which have multine output sometimes causes
issues with the readline support. This patch fixes show_transfers,
payments and incoming_transfers.
2017-06-25 10:48:02 -04:00
Jethro Grassie fdccf7e6c3 Add readline improvements
Color prompt now working and no reprompting on exit command.
2017-06-24 07:34:56 -04:00
jethro e1f3dfccc8 Add readline support to cli
This PR adds readline support to the daemon and monero-wallet-cli. Only
GNU readline is supported (e.g. not libedit) and there are cmake checks
to ensure this.

There is a cmake variable, Readline_ROOT_DIR that can specify a
directory to find readline, otherwise some default paths are searched.

There is also a cmake option, USE_READLINE, that defaults to ON. If set
to ON, if readline is not found, the build continues but without
readline support.

One negative side effect of using readline is that the color prompt in
the wallet-cli now has no color and just uses terminal default. I know
how to fix this but it's quite a big change so will tackle another time.
2017-06-18 10:08:37 -04:00
jethro 1b75ad91aa Add OSX background mining
Implements miner::get_system_times, miner::get_process_time and
miner::on_battery_power for OSX so that background mining works on OSX.
2017-06-08 09:26:09 -04:00