summaryrefslogtreecommitdiff
path: root/lib/reline/windows.rb
AgeCommit message (Collapse)Author
2024-04-04[ruby/reline] Handle INT signal correctly, remove handle_clearedtomoya ishida
because clear(C-l) is not a signal (https://github.com/ruby/reline/pull/646) https://github.com/ruby/reline/commit/3debb0ae2f
2024-03-23[ruby/reline] Do not send color reset sequence when GeneralIO istomoya ishida
used (https://github.com/ruby/reline/pull/661) https://github.com/ruby/reline/commit/3719702808
2024-03-14[ruby/reline] Ensure compatibility with frozen string literalsJean byroot Boussier
(https://github.com/ruby/reline/pull/643) Ref: https://bugs.ruby-lang.org/issues/20205 Ruby is moving forward with enabling frozen string literals in the future. Reline being part of the ruby-core test suite should work when ruby is ran with `--enable-frozen-string-literal`. https://github.com/ruby/reline/commit/7e2de64cf0 Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2023-08-20[ruby/reline] Remove Timeout usageStan Lo
(https://github.com/ruby/reline/pull/580) Timeout's implementation relies on Thread, which would conflict with `ruby/debug`'s thread-freezing implementation and has casued issues like - ruby/debug#877 - ruby/debug#934 - ruby/debug#1000 This commit avoids the issue by completely removing the use of Timeout. https://github.com/ruby/reline/commit/d4f0cd3fe1
2023-02-27[ruby/reline] Fix the cause of test_yamatanooroti randomly failingtomoya ishida
(https://github.com/ruby/reline/pull/474) * Add repeated input-delete test that fails on HEAD * Use raw mode while readmultiline
2023-01-26[ruby/reline] Revert "correct Win32API capitalization for JRuby"Hiroshi SHIBATA
This reverts commit https://github.com/ruby/reline/commit/d6e7c9e1d9af. https://github.com/ruby/reline/commit/c47a5b684c
2023-01-04[ruby/reline] correct Win32API capitalization for JRubyJoel Anderson
JRuby 9.4.0.0 introduced a change in case sensitivity in require statements, meaning that an inclusion of `win32api` loaded Win32API.rb. With this change, the require statement needs to be updated to the correct capitalization of the filename to avoid reline failures in newer versions of JRuby. https://github.com/ruby/reline/commit/d6e7c9e1d9
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
2021-12-30[ruby/reline] windows fix scrollYO4
https://github.com/ruby/reline/commit/c559d0f7a9
2021-12-24[ruby/reline] Determine 1st char or 2nd char of surrogate pair correctlyaycabta
https://github.com/ruby/reline/commit/182606c847
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 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-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-10[ruby/reline] unleash real pasting speedYO4
2700msec -> 410msec read 80 console inputs at once https://github.com/ruby/reline/commit/eb3ef7af98
2021-12-10[ruby/reline] unleash pasting speedYO4
https://github.com/ruby/reline/commit/074e407c62
2021-12-10[ruby/reline] support input surrogate paird codepointYO4
support surrogate pair input https://github.com/ruby/reline/commit/0b4acedc6a
2021-12-10[ruby/reline] follow consolemode changeYO4
fix 'https://github.com/ruby/reline/issues/300' https://github.com/ruby/reline/commit/b2cc6805a8
2021-10-12[ruby/reline] Check the result of GetConsoleScreenBufferInfoNobuyoshi Nakada
https://github.com/ruby/reline/commit/42edf7b3aa
2021-10-11[ruby/reline] Remove a comment for debugaycabta
https://github.com/ruby/reline/commit/5f3ccda3d5
2021-10-05[ruby/reline] Change struct size correctlyaycabta
https://github.com/ruby/reline/commit/df2a1b4e08
2021-10-04[ruby/reline] Use default background color to erase on Windowsaycabta
https://github.com/ruby/reline/commit/852e855d82
2021-10-03[ruby/reline] Call LineEditor#resize on Windowsaycabta
https://github.com/ruby/reline/commit/65b27dd2ff
2021-10-03[ruby/reline] Use String#unpack1aycabta
https://github.com/ruby/reline/commit/179c52bca8
2021-09-22[ruby/reline] Use `unpack1` instead of `unpack(template)[0]`Kazuhiro NISHIYAMA
https://github.com/ruby/reline/commit/45aa367616
2021-09-03[ruby/reline] Emulate Unix like terminals that sends Alt+key as \e+keyaycabta
https://github.com/ruby/reline/commit/dc2cf90fa6
2021-08-30[ruby/reline] Add autocompletion on emacs mode by Tab / S-Tabaycabta
https://github.com/ruby/reline/commit/22d0b4e5d8
2021-08-29[ruby/reline] Support hide/show cursor on Windowsaycabta
https://github.com/ruby/reline/commit/0c870813bd
2021-08-29[ruby/reline] Hide cursor when rendering dialogaycabta
https://github.com/ruby/reline/commit/a9050cf676
2021-08-29[ruby/reline] Create windows.rbusa
see issue #317 https://github.com/ruby/reline/commit/aad164de93
2021-08-29[ruby/reline] Add "sleep 0.01" to Windows event loopaycabta
https://github.com/ruby/reline/commit/dfc89eae53
2021-07-30[ruby/reline] Fixed Ctrl+Enter key in Windows.SilverPhoenix99
https://github.com/ruby/reline/commit/0c38e39023
2021-07-30[ruby/reline] Added support for Numpad divide key on Windows.SilverPhoenix99
https://github.com/ruby/reline/commit/84577da0c4
2021-07-30[ruby/reline] Support Enter key of numpad on Windowsaycabta
The yamatanooroti gem can't emulate numpad key pressing... https://github.com/ruby/reline/commit/8e9da1aeaf
2021-07-30[ruby/reline] Windows cmd: Don't type anything when pressing ALT keys aloneLars Kanis
Fixes #298 https://github.com/ruby/reline/commit/72acfcd27a
2021-06-21[ruby/reline] Add binding C-x C-x to em_exchange_mark on Windowsaycabta
https://github.com/ruby/reline/commit/24a2489b62
2021-06-21[ruby/reline] Treat C-Space as M-Space on Windowsaycabta
https://github.com/ruby/reline/commit/69beca2863
2021-06-21[ruby/reline] Treat return key correctly on Windowsaycabta
To fix Reline::TestRendering#test_binding_for_vi_movement_mode. https://github.com/ruby/reline/commit/0df3d2a1dc
2021-06-21[ruby/reline] Use ReadConsoleInputW() instead of getwch()aycabta
This needs https://github.com/aycabta/yamatanooroti/pull/19, which is released by yamatanooroti gem 0.0.7, to test with yamatanooroti. https://github.com/ruby/reline/commit/06c1f45da1
2021-04-08[ruby/reline] Separate keystrokes each editing modeaycabta
https://github.com/ruby/reline/commit/ee23e6f3f8
2021-02-22[ruby/reline] fix Reline::Windows.getconsolemode buffercremno
use double quotes to properly convert the \000 escape sequence. https://github.com/ruby/reline/commit/236dfe5683
2021-02-21[ruby/reline] check ENABLE_VIRTUAL_TERMINAL_PROCESSING flag and switch eof ↵Yoshinao Muramatu
processing https://github.com/ruby/reline/commit/3535676689
2021-01-18[ruby/reline] Reline::Windows.erase_after_cursor erases attributes tooaycabta
https://github.com/ruby/reline/commit/68b961dfc7