Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/reline/commit/df2a1b4e08
|
|
https://github.com/ruby/reline/commit/852e855d82
|
|
https://github.com/ruby/reline/commit/65b27dd2ff
|
|
https://github.com/ruby/reline/commit/179c52bca8
|
|
https://github.com/ruby/reline/commit/45aa367616
|
|
https://github.com/ruby/reline/commit/dc2cf90fa6
|
|
https://github.com/ruby/reline/commit/22d0b4e5d8
|
|
https://github.com/ruby/reline/commit/0c870813bd
|
|
https://github.com/ruby/reline/commit/a9050cf676
|
|
see issue #317
https://github.com/ruby/reline/commit/aad164de93
|
|
https://github.com/ruby/reline/commit/dfc89eae53
|
|
https://github.com/ruby/reline/commit/0c38e39023
|
|
https://github.com/ruby/reline/commit/84577da0c4
|
|
The yamatanooroti gem can't emulate numpad key pressing...
https://github.com/ruby/reline/commit/8e9da1aeaf
|
|
Fixes #298
https://github.com/ruby/reline/commit/72acfcd27a
|
|
https://github.com/ruby/reline/commit/24a2489b62
|
|
https://github.com/ruby/reline/commit/69beca2863
|
|
To fix Reline::TestRendering#test_binding_for_vi_movement_mode.
https://github.com/ruby/reline/commit/0df3d2a1dc
|
|
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
|
|
https://github.com/ruby/reline/commit/ee23e6f3f8
|
|
use double quotes to properly convert the \000 escape sequence.
https://github.com/ruby/reline/commit/236dfe5683
|
|
processing
https://github.com/ruby/reline/commit/3535676689
|
|
https://github.com/ruby/reline/commit/68b961dfc7
|
|
https://github.com/ruby/reline/commit/2a97ca9362
|
|
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
|
|
|
|
https://github.com/ruby/reline/commit/ba800f1461
|
|
https://github.com/ruby/reline/commit/2c5ee54cb3
|
|
IO#print always adds a string of $\ automatically.
https://github.com/ruby/reline/commit/a93119c847
|
|
A newline is automatically inserted if a character is rendered at eol on
Windows command prompt.
https://github.com/ruby/reline/commit/4bfea07e4a
|
|
I mistook Right and Bottom.
https://github.com/ruby/reline/commit/8be401c5f5
|
|
The previous detection per get_screen_size fails when stdout is passed
to a pipe. That is the case when running ruby tests in parallel ("-j" switch).
In this case Reline believes that it's running on MinTTY and the tests
are running with ANSI IOGate instead of the Windows adapter on MINGW.
So parallel test results were different to that of a single process.
This commit fixes these differencies.
The code is taken from git sources and translated to ruby.
NtQueryObject() is replaced by GetFileInformationByHandleEx(), because
NtQueryObject() is undocumented and is more difficult to use:
https://github.com/git-for-windows/git/blob/c5a03b1e29c69f3f06c8fabd92493edb73469176/compat/winansi.c#L558
Notes:
Merged: https://github.com/ruby/ruby/pull/2848
|
|
The command prompt on Windows always uses Unicode to take input and print
output but most Reline implementation depends on Encoding.default_external.
This commit introduces an abstracted structure about the encoding of Reline.
|
|
|
|
On German keyboard, right alt key acts as like shift key.
Ex. right-alt-8 is just "[". This input doesn't have meta-key statement.
|
|
|
|
|
|
|
|
|
|
|
|
The function getwch() returns some key sequences which start from 0 or 0xE0
with a following key code. Alt+` that is on/off key for input methods gives 0
and 41 so Reline was always ignoring 0 and following keys but numeric keypad
keys give 0 and following actual keys. This commit changes the behavior to be
ignoring only the 0 and 41 sequence.
|
|
It's fixed for JRuby dedicatedly.
|
|
|
|
|
|
typedef struct _COORD {
SHORT X;
SHORT Y; // I wanted to take this...
} COORD, *PCOORD;
typedef struct _CONSOLE_SCREEN_BUFFER_INFO {
COORD dwSize;
COORD dwCursorPosition; // ...of this one
WORD wAttributes; // But it's combined with first 2bytes of this
SMALL_RECT srWindow;
COORD dwMaximumWindowSize;
} CONSOLE_SCREEN_BUFFER_INFO;
If wAttributes has non-zero value, the code breaks.
|
|
typedef struct _CONSOLE_SCREEN_BUFFER_INFO {
COORD dwSize; // 4(SHORT X, Y)
COORD dwCursorPosition; // 4
WORD wAttributes; // 2
SMALL_RECT srWindow; // 8(SHORT Left, Top, Right, Bottom)
COORD dwMaximumWindowSize; // 4
} CONSOLE_SCREEN_BUFFER_INFO;
|
|
|
|
|
|
|
|
|