于 2013-7-9 22:14, Luiz Capitulino 写道:
On Tue, 09 Jul 2013 22:03:42 +0800
Wenchao Xia xiaw...@linux.vnet.ibm.com wrote:
You could pass cur_mon to readline_completion() in readline_handle_byte()
to avoid all this, but it would be preferable to clarify the matter.
This is also another benefit
You could pass cur_mon to readline_completion() in readline_handle_byte()
to avoid all this, but it would be preferable to clarify the matter.
This is also another benefit of having readline_completion() in a
different patch, you can (and should!) clarify this point in the commit
log along
On Tue, 09 Jul 2013 22:03:42 +0800
Wenchao Xia xiaw...@linux.vnet.ibm.com wrote:
You could pass cur_mon to readline_completion() in readline_handle_byte()
to avoid all this, but it would be preferable to clarify the matter.
This is also another benefit of having readline_completion() in
On Sat, 29 Jun 2013 11:52:55 +0800
Wenchao Xia xiaw...@linux.vnet.ibm.com wrote:
Parameter *mon is added to replace *cur_mon, and readline_completion()
pass rs-mon as value, which should be initialized in readline_init()
called by monitor_init(). In short, structure ReadLineState controls
于 2013-7-8 23:17, Luiz Capitulino 写道:
On Sat, 29 Jun 2013 11:52:55 +0800
Wenchao Xia xiaw...@linux.vnet.ibm.com wrote:
Parameter *mon is added to replace *cur_mon, and readline_completion()
pass rs-mon as value, which should be initialized in readline_init()
called by monitor_init(). In short,
Parameter *mon is added to replace *cur_mon, and readline_completion()
pass rs-mon as value, which should be initialized in readline_init()
called by monitor_init(). In short, structure ReadLineState controls
where the action would be taken now.
Signed-off-by: Wenchao Xia