summaryrefslogtreecommitdiff
path: root/lib/reline/ansi.rb
AgeCommit message (Collapse)Author
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] Hide cursor when rendering dialogaycabta
https://github.com/ruby/reline/commit/a9050cf676
2021-08-14[ruby/reline] Remove interrupt avoidanceaycabta
There used to be a process that did not want to be interrupted by SIGINT, so it was trapped, but that process is no longer there. https://github.com/ruby/reline/commit/ba7252a5db
2021-06-25[ruby/reline] Fix missing require.Samuel Williams
https://github.com/ruby/reline/commit/010b28dfe9
2021-06-25[ruby/reline] Avoid using blocking `IO.select`.Samuel Williams
https://github.com/ruby/reline/commit/de94746393
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] Add Meta+arrow-keys in extended entries of terminfoaycabta
https://github.com/ruby/reline/commit/af6f6ed088
2021-06-21[ruby/reline] Terminfo.tigetstr and tiparm should return String objectaycabta
https://github.com/ruby/reline/commit/1e287d10cc
2021-06-21[ruby/reline] Add terminfo supportaycabta
https://github.com/ruby/reline/commit/74a7ffaa2f
2021-06-21[ruby/reline] Handle Errno::ENOTTY correctlyaycabta
https://github.com/ruby/reline/commit/8daa392ba6
2021-04-08[ruby/reline] Separate keystrokes each editing modeaycabta
https://github.com/ruby/reline/commit/ee23e6f3f8
2020-12-17[ruby/reline] Use plus operator to create unfrozen stringRobert Schulze
https://github.com/ruby/reline/commit/ca274b0d37
2020-12-05Cope with frozen-string-literalRobert Schulze
When running irb 1.2.1 (2019-12-24) with frozen-string-literal enabled, it crashes in reline with `can't modify frozen String (FrozenError)` Steps to reproduce: `RUBYOPT="--enable-frozen-string-literal" irb`
2020-12-05[ruby/reline] Support bracketed paste modeaycabta
https://github.com/ruby/reline/commit/d1a6869322
2020-12-05[ruby/reline] Suppress callbacks in pastingaycabta
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
2020-09-12[ruby/reline] Support for word movement escape sequences in iTerm2aycabta
https://github.com/ruby/reline/commit/187235f88c
2020-09-12[ruby/reline] Skip the nil obtained from getcaycabta
The nil means there is nothing in the buffer in some systems. Incidentally, Errno::EIO is raised if the I/O is closed. https://github.com/ruby/reline/commit/c698634e74
2020-08-28[ruby/reline] fix cursor_pos regexp matchtompng
https://github.com/ruby/reline/commit/1dd80ef188
2020-08-18Strip trailing spaces [ci skip]Nobuyoshi Nakada
2020-08-18[ruby/reline] Check Errno::EIOaycabta
Catch Errno::EIO what will be occurred if the console terminates I/O before Reline finishes rendering. https://github.com/ruby/reline/commit/e51eaa6d43
2020-08-18[ruby/reline] Add home/end mapping for urxvt and relativesTomás Pollak
https://github.com/ruby/reline/commit/c30b293f1c
2020-05-12Some I/O in test doesn't have "position"aycabta
Just returns column 1 for ambiguous width because this I/O is not tty and can't seek.
2020-02-14[ruby/reline] Use IO#write instead of IO#printaycabta
IO#print always adds a string of $\ automatically. https://github.com/ruby/reline/commit/a93119c847
2020-02-09[ruby/reline] Organize special keys escape sequencesaycabta
https://github.com/ruby/reline/commit/41deb1a3d9
2020-02-02[ruby/reline] Bypass cursor down when a char is rendered at eol on Windowsaycabta
A newline is automatically inserted if a character is rendered at eol on Windows command prompt. https://github.com/ruby/reline/commit/4bfea07e4a
2020-01-29[ruby/reline] Support GNOME style Home/End key sequences [Bug #16510]aycabta
https://github.com/ruby/reline/commit/788f0df845
2020-01-14Introduce an abstracted structure about the encoding of Relineaycabta
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.
2020-01-05Rescue EOFErroraycabta
If C-d is pressed before IRB is ready, IRB crashes because EOFError occurs.
2019-12-31[ruby/reline] Degenerate the terminal size to [$LINES, $COLUMNS] if it is ↵Yusuke Endoh
unknown This is a workaround for https://github.com/ruby/irb/issues/50 https://github.com/ruby/reline/commit/5725677d1a
2019-12-23[ruby/reline] Use IO#raw to read one byteNobuyoshi Nakada
https://github.com/ruby/reline/commit/be17740e82
2019-12-22Support multibyte inputNobuyoshi Nakada
2019-12-22[ruby/reline] Support Ctrl+right as em_next_word, and Ctrl+left as ed_prev_wordYusuke Endoh
https://github.com/ruby/reline/commit/e98ad3b486
2019-12-22[ruby/reline] Preserve the input buffer across cursor_posYusuke Endoh
The old version of cursor_pos discards the input buffer, which made IRB ignore the input immediately after IRB is invoked. This change keeps the input before cursor_pos by using ungetc. https://github.com/ruby/reline/commit/4a8cca331f
2019-12-22[ruby/reline] Consider Reline::ANSI.input at prepNobuyoshi Nakada
https://github.com/ruby/reline/commit/b111cde3c3
2019-12-17[ruby/reline] Disable any implementation-defined special control charactersNobuyoshi Nakada
Including dsusp, lnext, and so on. https://github.com/ruby/reline/commit/a44abe586b
2019-11-21Add <Home> <End> keys.manga_osyo
2019-11-19Suppress `stty` error on Apple TerminalNobuyoshi Nakada
`stty` called in `Reline::ANSI.deprep` command shows the following error message on macOS Apple Terminal, with some settings. ``` $ LANG=C irb irb(main):001:0> stty: 'standard input': unable to perform all requested operations stty: 'standard input': unable to perform all requested operations ```
2019-11-15[ruby/reline] Restore left cursor key support on Unix like OSes...aycabta
https://github.com/ruby/reline/commit/98b72af751
2019-11-15Implement em_set_mark and em_exchange_markaycabta
2019-10-18Remove freezeaycabta
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-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