summaryrefslogtreecommitdiff
path: root/lib/reline
AgeCommit message (Collapse)Author
2019-10-24Support forced enter insertion by Ctrl+Enter on Windowsaycabta
2019-10-23Fix indent...aycabta
2019-10-18Treat key sequences from getwch() that start from 0 or 0xE0 correctlyaycabta
2019-10-18Add numeric keypad key sequences on Windowsaycabta
2019-10-18Remove freezeaycabta
2019-10-18Ignore the input method key sequence from getwch() correctlyaycabta
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.
2019-10-18Insert multiline incremental search result correctlyaycabta
2019-10-17Remove unused variableaycabta
2019-10-17Refactor prompt generation logicaycabta
2019-10-17Calculate prompt width correctlyaycabta
2019-10-17Collect multiline prompt logic into a methodaycabta
2019-10-16Support multiline history in incremental searchaycabta
2019-10-16Support backspace in incremental searchaycabta
2019-10-16C-r is incremental history search in vi insert modeaycabta
2019-10-07Version 0.0.3aycabta
2019-10-07Flush console just after printingaycabta
2019-10-07Use built-in Win32API on JRubyaycabta
It's fixed for JRuby dedicatedly.
2019-09-26Get rid of `IO.select` to fix multiline pasteNobuyoshi Nakada
2019-09-23Use short wait for select(2)aycabta
It is one of the reasons why paste to IRB is slow.
2019-09-23Retrieve key-buffer that was supposed to loseaycabta
2019-09-17Undefine DSUSP keyNobuyoshi Nakada
Enable `Ctrl+Y`, which is bound with it by default on BSD-like systems, for editing.
2019-09-17Fix previous history in vi_insert modeAdam Cammack
2019-09-17Fix history navigation in vi_insert modeAdam Cammack
2019-09-14The stdlib readline should raise Interrupt when pressing C-caycabta
2019-09-14Revert "Use IO#getch to read one char in raw mode"aycabta
This reverts commit 805b0a481132938638dbd32830cf5dca3910efb1.
2019-09-14Revert "Use IO#getbyte"aycabta
This reverts commit 685f12bbca50ff9b7a16b3016b3b8b3f2ac8b796.
2019-09-14Revert "Support multibyte input"aycabta
This reverts commit 6d9e54816f828983bcf383ce6fce287bd3ca05b9.
2019-09-10Support multibyte inputNobuyoshi Nakada
2019-09-10Use IO#getbyteNobuyoshi Nakada
2019-09-10Use IO#getch to read one char in raw modeNobuyoshi Nakada
2019-09-08Behave ESC key correctly when vi command modeaycabta
2019-09-02Treat Japanese IME on/off code correctlyaycabta
2019-09-01Reline 0.0.2aycabta
2019-09-01Re-calculate state variables of screen when screen size changesaycabta
2019-08-29Check events that console window size changed on Windowsaycabta
2019-08-29Fix alignment of a SHORT variableaycabta
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.
2019-08-29CONSOLE_SCREEN_BUFFER_INFO is 22bytesaycabta
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;
2019-08-29Add stub set_screen_size for other platformsaycabta
2019-08-29Support SIGWINCHaycabta
2019-08-22Always check multiline terminationaycabta
2019-08-18The "exe" dir doesn't exist in this repostiroyaycabta
2019-08-18Don't crash when deleting at the end of the lineAlan Wu
To reproduce this bug, type one character into irb, then press the delete key on your keyboard.
2019-08-09Revert a6e32855d079e8f3806d8be8a5f5cf7b3a967133 partiallyKazuhiro NISHIYAMA
Fix TypeError when typing `''.[TAB]`
2019-08-06Remove obsolete TODO commentaycabta
2019-08-06Update Unicode URL to 12.1.0aycabta
2019-07-28[reline] Do not compile regexp for each lineNobuyoshi Nakada
2019-07-28[reline] Do not escape and compile regexp for each byteNobuyoshi Nakada
2019-07-25Check wether multibyte character is splitaycabta
2019-07-19Fix showing doc of "nil.to_s", nil doesn't have #nameaycabta
2019-07-15Version 0.0.1aycabta