summaryrefslogtreecommitdiff
path: root/lib/reline
AgeCommit message (Collapse)Author
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
2019-07-15Remove unused method.manga_osyo
2019-07-15Add `class Reline::History` and test.manga_osyo
2019-07-14fix issue with 'SIGINT' handling in LineEditor#resetLuke Gruber
@old_trap is the string "DEFAULT" and not a callable object (Proc) if there are no other signal handlers for SIGINT signal to chain.
2019-07-06Refactored width calculationsNobuyoshi Nakada
2019-07-06SimplifiedNobuyoshi Nakada
2019-07-04Support Control- and Meta-aycabta
2019-07-04Move a comment to proper placeaycabta
2019-07-04Parse key sequence more strictlyNobuyoshi Nakada
2019-07-04Use lstrip instead of gsub which can match only onceNobuyoshi Nakada
2019-07-04Skip indented comment lines [Bug #15981]Nobuyoshi Nakada
2019-07-01New indent must be non-negative numberNobuyoshi Nakada
2019-06-27Decrease indent by closing token correctlyaycabta
2019-06-20Disable auto indent when move cursor up or downaycabta
This commit suppresses a strange behavior below: if true 1[cursor] end and press down key if true 1 end
2019-06-18Implement auto indent for multilineaycabta
2019-06-16Implement line_no correctlyaycabta
2019-06-14Set allow_escape_code for promptaycabta
2019-06-14Add Reline.prompt_procaycabta
2019-06-06Skip transpose-words if less than 2 wordaycabta
2019-06-05Move I/O access from Reline::KeyStroke to Relineaycabta