ruby-changes:67556
From: aycabta <ko1@a...>
Date: Thu, 2 Sep 2021 21:36:37 +0900 (JST)
Subject: [ruby-changes:67556] f734590f8e (master): [ruby/reline] Add a space
https://git.ruby-lang.org/ruby.git/commit/?id=f734590f8e From f734590f8ec9b9ac938f625eb6dd586039d287db Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 2 Sep 2021 21:36:14 +0900 Subject: [ruby/reline] Add a space https://github.com/ruby/reline/commit/3d70e07331 --- lib/reline.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reline.rb b/lib/reline.rb index 18ccce2..1b5c7a8 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -194,7 +194,7 @@ module Reline https://github.com/ruby/ruby/blob/trunk/lib/reline.rb#L194 # Auto complete starts only when edited return nil end - pre, target, post= retrieve_completion_block(true) + pre, target, post = retrieve_completion_block(true) if target.nil? or target.empty?# or target.size <= 3 return nil end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/