Project

General

Profile

« Previous | Next » 

Revision 5d33ff36

Added by qwyng (Hiroaki Osawa) about 1 year ago

[ruby/reline] In ed_search_[prev|next]_history, make the cursor come
to the end of the line when there is no search substr
(https://github.com/ruby/reline/pull/714)

  • In ed_search_prev_history, make the cursor come to the end of the line when there is no search substr

  • In ed_search_next_history, make the cursor come to the end of the line when there is no search substr

  • Implemented ActionState to search with empty substr if the previous operation was search with empty string.

  • Use a simple 2-element array to represent action_state

https://github.com/ruby/reline/commit/95ee80bd70