aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reline/windows.rb
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/reline] Fix the cause of test_yamatanooroti randomly failingtomoya ishida2023-02-271-0/+4
| | | | | | | | (https://github.com/ruby/reline/pull/474) * Add repeated input-delete test that fails on HEAD * Use raw mode while readmultiline
* [ruby/reline] Revert "correct Win32API capitalization for JRuby"Hiroshi SHIBATA2023-01-261-1/+1
| | | | | | This reverts commit https://github.com/ruby/reline/commit/d6e7c9e1d9af. https://github.com/ruby/reline/commit/c47a5b684c
* [ruby/reline] correct Win32API capitalization for JRubyJoel Anderson2023-01-041-1/+1
| | | | | | | | | 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
* [ruby/reline] Add a comment for VK_MENUaycabta2022-01-271-1/+1
| | | | https://github.com/ruby/reline/commit/ee307c2b01
* [ruby/reline] The AltGr behaves exactly the same as Ctrl+Altaycabta2022-01-271-1/+1
| | | | | | On European keyboards. https://github.com/ruby/reline/commit/75fe9759a4
* [ruby/reline] windows fix scrollYO42021-12-301-1/+1
| | | | https://github.com/ruby/reline/commit/c559d0f7a9
* [ruby/reline] Determine 1st char or 2nd char of surrogate pair correctlyaycabta2021-12-241-2/+2
| | | | https://github.com/ruby/reline/commit/182606c847
* [ruby/reline] Rename an unused variable name for CIaycabta2021-12-201-1/+1
| | | | https://github.com/ruby/reline/commit/ba97f3bd87
* [ruby/reline] Add spaceaycabta2021-12-201-1/+1
| | | | https://github.com/ruby/reline/commit/4b7fa6b213
* [ruby/reline] windows jruby issueYO42021-12-201-14/+46
| | | | | | jruby needs terminal control with Windows API on classic console https://github.com/ruby/reline/commit/b61bc43374
* [ruby/reline] windows clear screen with \e 2 JYO42021-12-201-10/+1
| | | | | | | | 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
* [ruby/reline] windows improve scrollingYO42021-12-201-7/+17
| | | | | | | | | | | | 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
* [ruby/reline] Revert "Add a space after a comma"aycabta2021-12-201-1/+1
| | | | | | | | This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7. To merge a Pull Request... https://github.com/ruby/reline/commit/83021f4267
* [ruby/reline] Revert "Add space"aycabta2021-12-201-1/+1
| | | | | | | | This reverts commit https://github.com/ruby/reline/commit/1bb071bcf5a9. To merge a Pull Request... https://github.com/ruby/reline/commit/e9fe1b1305
* [ruby/reline] Remove unnecessary "*"aycabta2021-12-181-2/+2
| | | | https://github.com/ruby/reline/commit/7b50638e24
* [ruby/reline] Add a space after a commaaycabta2021-12-181-1/+1
| | | | https://github.com/ruby/reline/commit/6009b3ef7a
* [ruby/reline] Add spaceaycabta2021-12-181-1/+1
| | | | https://github.com/ruby/reline/commit/1bb071bcf5
* [ruby/reline] unleash real pasting speedYO42021-12-101-16/+20
| | | | | | | | 2700msec -> 410msec read 80 console inputs at once https://github.com/ruby/reline/commit/eb3ef7af98
* [ruby/reline] unleash pasting speedYO42021-12-101-1/+1
| | | | https://github.com/ruby/reline/commit/074e407c62
* [ruby/reline] support input surrogate paird codepointYO42021-12-101-0/+21
| | | | | | support surrogate pair input https://github.com/ruby/reline/commit/0b4acedc6a
* [ruby/reline] follow consolemode changeYO42021-12-101-1/+5
| | | | | | fix 'https://github.com/ruby/reline/issues/300' https://github.com/ruby/reline/commit/b2cc6805a8
* [ruby/reline] Check the result of GetConsoleScreenBufferInfoNobuyoshi Nakada2021-10-121-8/+15
| | | | https://github.com/ruby/reline/commit/42edf7b3aa
* [ruby/reline] Remove a comment for debugaycabta2021-10-111-1/+1
| | | | https://github.com/ruby/reline/commit/5f3ccda3d5
* [ruby/reline] Change struct size correctlyaycabta2021-10-051-1/+1
| | | | https://github.com/ruby/reline/commit/df2a1b4e08
* [ruby/reline] Use default background color to erase on Windowsaycabta2021-10-041-1/+2
| | | | https://github.com/ruby/reline/commit/852e855d82
* [ruby/reline] Call LineEditor#resize on Windowsaycabta2021-10-031-0/+1
| | | | https://github.com/ruby/reline/commit/65b27dd2ff
* [ruby/reline] Use String#unpack1aycabta2021-10-031-13/+13
| | | | https://github.com/ruby/reline/commit/179c52bca8
* [ruby/reline] Use `unpack1` instead of `unpack(template)[0]`Kazuhiro NISHIYAMA2021-09-221-1/+1
| | | | https://github.com/ruby/reline/commit/45aa367616
* [ruby/reline] Emulate Unix like terminals that sends Alt+key as \e+keyaycabta2021-09-031-0/+2
| | | | https://github.com/ruby/reline/commit/dc2cf90fa6
* [ruby/reline] Add autocompletion on emacs mode by Tab / S-Tabaycabta2021-08-301-0/+12
| | | | https://github.com/ruby/reline/commit/22d0b4e5d8
* [ruby/reline] Support hide/show cursor on Windowsaycabta2021-08-291-2/+9
| | | | https://github.com/ruby/reline/commit/0c870813bd
* [ruby/reline] Hide cursor when rendering dialogaycabta2021-08-291-0/+8
| | | | https://github.com/ruby/reline/commit/a9050cf676
* [ruby/reline] Create windows.rbusa2021-08-291-1/+2
| | | | | | see issue #317 https://github.com/ruby/reline/commit/aad164de93
* [ruby/reline] Add "sleep 0.01" to Windows event loopaycabta2021-08-291-0/+1
| | | | https://github.com/ruby/reline/commit/dfc89eae53
* [ruby/reline] Fixed Ctrl+Enter key in Windows.SilverPhoenix992021-07-301-39/+69
| | | | https://github.com/ruby/reline/commit/0c38e39023
* [ruby/reline] Added support for Numpad divide key on Windows.SilverPhoenix992021-07-301-0/+3
| | | | https://github.com/ruby/reline/commit/84577da0c4
* [ruby/reline] Support Enter key of numpad on Windowsaycabta2021-07-301-0/+2
| | | | | | The yamatanooroti gem can't emulate numpad key pressing... https://github.com/ruby/reline/commit/8e9da1aeaf
* [ruby/reline] Windows cmd: Don't type anything when pressing ALT keys aloneLars Kanis2021-07-301-3/+0
| | | | | | Fixes #298 https://github.com/ruby/reline/commit/72acfcd27a
* [ruby/reline] Add binding C-x C-x to em_exchange_mark on Windowsaycabta2021-06-211-0/+1
| | | | https://github.com/ruby/reline/commit/24a2489b62
* [ruby/reline] Treat C-Space as M-Space on Windowsaycabta2021-06-211-0/+4
| | | | https://github.com/ruby/reline/commit/69beca2863
* [ruby/reline] Treat return key correctly on Windowsaycabta2021-06-211-1/+7
| | | | | | To fix Reline::TestRendering#test_binding_for_vi_movement_mode. https://github.com/ruby/reline/commit/0df3d2a1dc
* [ruby/reline] Use ReadConsoleInputW() instead of getwch()aycabta2021-06-211-62/+74
| | | | | | | 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
* [ruby/reline] Separate keystrokes each editing modeaycabta2021-04-081-17/+29
| | | | https://github.com/ruby/reline/commit/ee23e6f3f8
* [ruby/reline] fix Reline::Windows.getconsolemode buffercremno2021-02-221-1/+1
| | | | | | use double quotes to properly convert the \000 escape sequence. https://github.com/ruby/reline/commit/236dfe5683
* [ruby/reline] check ENABLE_VIRTUAL_TERMINAL_PROCESSING flag and switch eof ↵Yoshinao Muramatu2021-02-211-0/+24
| | | | | | processing https://github.com/ruby/reline/commit/3535676689
* [ruby/reline] Reline::Windows.erase_after_cursor erases attributes tooaycabta2021-01-181-0/+1
| | | | https://github.com/ruby/reline/commit/68b961dfc7
* [ruby/reline] Support longer than screen height on Windowsaycabta2020-12-171-1/+8
| | | | https://github.com/ruby/reline/commit/2a97ca9362
* [ruby/reline] Suppress callbacks in pastingaycabta2020-12-051-0/+14
| | | | | | | | IRB uses Reline's 3 dynamic real-time callbacks with calling Ripper; output_modifier_proc, prompt_proc, and auto_indent_proc. These processing times make the paste time too long. https://github.com/ruby/reline/commit/beec3399a8
* Suppress "assigned but unused variable" warningaycabta2020-09-121-1/+1
|
* [ruby/reline] not clear scrollback bufferYoshinao Muramatu2020-09-121-6/+8
| | | | https://github.com/ruby/reline/commit/ba800f1461