summaryrefslogtreecommitdiff
path: root/lib/reline
AgeCommit message (Collapse)Author
2022-01-27[ruby/reline] Add a comment for VK_MENUaycabta
https://github.com/ruby/reline/commit/ee307c2b01
2022-01-27[ruby/reline] The AltGr behaves exactly the same as Ctrl+Altaycabta
On European keyboards. https://github.com/ruby/reline/commit/75fe9759a4
2022-01-24[ruby/reline] Ignore global constants when checking if Fiddle::VERSION existsPostmodern
If a top-level `VERSION` constant exists, or if a module containing a `VERSION` constant is included into the top-level scope, then `Fiddle.const_defined?(:VERSION)` will erroneously return true when `RUBY_VERSION < 3.0.0`. https://github.com/ruby/reline/commit/8529c8e47a
2022-01-16[ruby/reline] Fix incremental search to work correctly even if not last lineaycabta
https://github.com/ruby/reline/commit/21d75f6d4c
2022-01-16[ruby/reline] Insert newline in the middle of buffer just after dialogaycabta
https://github.com/ruby/reline/commit/0c76631132
2022-01-16[ruby/reline] Combine common logic into oneaycabta
https://github.com/ruby/reline/commit/5db9738f17
2022-01-16[ruby/reline] Clear dialog when adding new line to end of bufferaycabta
https://github.com/ruby/reline/commit/7d38454327
2022-01-11[ruby/reline] Clear dialog when just_move_cursor is called with dialog at ↵aycabta
last line https://github.com/ruby/reline/commit/05024b968e
2022-01-08[ruby/reline] Fix reline on SolarisPeter Zhu
Solaris requires that the pointer errret_int is alined to an integer, however, with VWA, strings are no longer aligned to an integer, so use a Fiddle::Pointer with a malloc'd region instead. https://github.com/ruby/reline/commit/5fcd89ab0c
2022-01-02[ruby/reline] Check capname of tigetstr/tigetflag/tigetnumaycabta
Incorrect arguments can cause SEGV. https://github.com/ruby/reline/commit/a58748bcf9
2022-01-02[ruby/reline] Version 0.3.1aycabta
https://github.com/ruby/reline/commit/9ab5850444
2022-01-02[ruby/reline] Implement Reline::Terminfo.tigetnumaycabta
https://github.com/ruby/reline/commit/695212d5d2
2022-01-02[ruby/reline] Fix the difinition of tigetflag() in comment...aycabta
https://github.com/ruby/reline/commit/af4d77ba09
2022-01-01[ruby/reline] Remove unnecessary qualifiers on definition of commentsaycabta
https://github.com/ruby/reline/commit/abc1e4ee88
2022-01-01[ruby/reline] Implement Reline::Terminfo.tigetflagaycabta
https://github.com/ruby/reline/commit/0451ed7a28
2021-12-30[ruby/reline] windows fix scrollYO4
https://github.com/ruby/reline/commit/c559d0f7a9
2021-12-30[ruby/reline] Use unix_line_discard when Ctrl-u is enteredima1zumi
The kill-line was called when C-u was entered, so it is now called unix-line-discard. In readline(3): > unix-line-discard (C-u) > Kill backward from point to the beginning of the line. > The killed text is saved on the kill-ring. https://github.com/ruby/reline/commit/27570d195e
2021-12-25[ruby/reline] Version 0.3.0aycabta
https://github.com/ruby/reline/commit/3f6ea92268
2021-12-25[ruby/reline] Escape newline(s) in dynamic promptaycabta
https://github.com/ruby/reline/commit/9b209ee1ea
2021-12-25[ruby/reline] Escape newline(s) in promptaycabta
https://github.com/ruby/reline/commit/b545459fca
2021-12-25[ruby/reline] Remove unnecessary parameteraycabta
https://github.com/ruby/reline/commit/20fcd22564
2021-12-24[ruby/reline] Revert "Change aliased methods to be parivete"aycabta
Ruby 2.5 doesn't support "private alias_method" idiom but Ruby on Rails 6.x still support 2.5. 😢 This reverts commit https://github.com/ruby/reline/commit/0f075f562b9b. https://github.com/ruby/reline/commit/4ecaa63b26
2021-12-24[ruby/reline] Change aliased methods to be pariveteaycabta
https://github.com/ruby/reline/commit/0f075f562b
2021-12-24[ruby/reline] Add doc about em-kill-line macroaycabta
https://github.com/ruby/reline/commit/2e46493aff
2021-12-24[ruby/reline] Implement em_kill_lineaycabta
https://github.com/ruby/reline/commit/9fca6ceb45
2021-12-24[ruby/reline] Rename the wrong name "em-kill-line" with the correct name ↵aycabta
"unix-line-discard" https://github.com/ruby/reline/commit/da7af35d1f
2021-12-24[ruby/reline] Add doc about ed-kill-line, kill-line, em-kill-line, and ↵aycabta
unix-line-discard https://github.com/ruby/reline/commit/586a48ffe0
2021-12-24[ruby/reline] Bind ed-kill-line to C-u on emacs modeaycabta
https://github.com/ruby/reline/commit/9ab99574f5
2021-12-24[ruby/reline] Support S-Tab to move up completion cursor in vi-mode on Unixaycabta
https://github.com/ruby/reline/commit/ff278cdc88
2021-12-24[ruby/reline] Determine 1st char or 2nd char of surrogate pair correctlyaycabta
https://github.com/ruby/reline/commit/182606c847
2021-12-24[ruby/reline] Character merging may increase the character widthaycabta
Even if the number of graphemes doesn't change owing to character merging, the character width may increase. https://github.com/ruby/reline/commit/fbcd5f56a7
2021-12-24[ruby/reline] "Halfwidth char + halfwidth (han)dakuten" is a single grapheme.aycabta
When a halfwidth character is followed by a halfwidth dakuten or a halfwidth handakuten character, it should be treated as a single grapheme. https://github.com/ruby/reline/commit/9f20b9ec28
2021-12-24[ruby/reline] Add comment for a following char of combined charaycabta
https://github.com/ruby/reline/commit/d465667f57
2021-12-21[ruby/reline] Finalize when exception occurredaycabta
https://github.com/ruby/reline/commit/1f8a3aee43 Co-authored-by: Alex Gittemeier <me@a.lexg.dev>
2021-12-21[ruby/reline] Split off set_signal_handler methodaycabta
In some tests, the LineEditor#reset method is always called, but doesn't need to set the signal handlers there, so cuts it out to a separate method. https://github.com/ruby/reline/commit/b143c4f5f9
2021-12-21[ruby/reline] Remove unnecessary clearing signal handleraycabta
https://github.com/ruby/reline/commit/7a758e73dc
2021-12-20[ruby/reline] Rename an unused variable name for CIaycabta
https://github.com/ruby/reline/commit/ba97f3bd87
2021-12-20[ruby/reline] Add support for overwriting dialog proc with the same nameaycabta
https://github.com/ruby/reline/commit/16aa20c380
2021-12-20[ruby/reline] Add spaceaycabta
https://github.com/ruby/reline/commit/4b7fa6b213
2021-12-20[ruby/reline] windows jruby issueYO4
jruby needs terminal control with Windows API on classic console https://github.com/ruby/reline/commit/b61bc43374
2021-12-20[ruby/reline] windows clear screen with \e 2 JYO4
Windows Terminal does smart screen clearing when \e 2 J (not clear entire screen but scrolls down just needed) On consoles not support sequences, ruby still converts it to API call. https://github.com/ruby/reline/commit/c00930dab9
2021-12-20[ruby/reline] windows improve scrollingYO4
ScrollConsoleScreenBuffer can't scroll window of Windows Terminal. Use LF to sctoll. Microsoft says ```In the virtual terminal sequences world, the size of the window and the size of the screen buffer are fixed to the same value. ``` https://docs.microsoft.com/en-us/windows/console/window-and-screen-buffer-size https://github.com/ruby/reline/commit/9ff3c70732
2021-12-20[ruby/reline] Revert "Add a space after a comma"aycabta
This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7. To merge a Pull Request... https://github.com/ruby/reline/commit/83021f4267
2021-12-20[ruby/reline] Revert "Add space"aycabta
This reverts commit https://github.com/ruby/reline/commit/1bb071bcf5a9. To merge a Pull Request... https://github.com/ruby/reline/commit/e9fe1b1305
2021-12-19[ruby/reline] Load correct version.rb from gemspecNobuyoshi Nakada
When merged to ruby/ruby, reline.gemspec file is located under lib/reline, as the same as reline/version.rb. That is the latter path relative from the former differs from the ruby/reline case, and the reline/version.rb in the default load path will be loaded. Try `require_relative` not to load unexpected files. https://github.com/ruby/reline/commit/54905d0e1b
2021-12-19[ruby/reline] Clear dialog in pastingaycabta
https://github.com/ruby/reline/commit/dabf5313e0
2021-12-18[ruby/reline] Remove unnecessary "*"aycabta
https://github.com/ruby/reline/commit/7b50638e24
2021-12-18[ruby/reline] Add a space after a commaaycabta
https://github.com/ruby/reline/commit/6009b3ef7a
2021-12-18[ruby/reline] Add spaceaycabta
https://github.com/ruby/reline/commit/1bb071bcf5
2021-12-13[ruby/reline] Remove unnecessary variables, lower_spaceaycabta
The number of lines below the cursor position was known by "@rest_height" alone, but the problem was caused by adding "lower_space". Remove "lower_space" as it is unnecessary. https://github.com/ruby/reline/commit/a575cef6a3