Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not call stty on non-tty | Keenan Brock | 2023-04-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | When testing on a non-tty (e.g.: github actions), either one of these lines produces an error: ```ruby input.echo = true ask("question", "y") { |q| q.readline = true } ``` The error is produced by ruby internals: ```bash echo | rake | cat ......stty: stdin isn't a terminal...... ``` This change skips the stty calls if the input is not on a tty, so the errors will not be produced. | ||||
* | These files have no shebang and should not be executable | Brandon Dunne | 2022-02-23 | 1 | -0/+0 |
| | |||||
* | Avoid YARD warning UnknownParam | Olle Jonsson | 2019-03-29 | 1 | -2/+0 |
| | |||||
* | Remove now useless code | Abinoam P. Marques Jr | 2017-11-21 | 1 | -4/+2 |
| | |||||
* | Prompt treated the same with or without readline | Abinoam P. Marques Jr | 2017-11-21 | 1 | -1/+1 |
| | |||||
* | Fix rescueing without error class | Abinoam P. Marques Jr | 2017-09-25 | 1 | -1/+1 |
| | |||||
* | Fix exception suppresion | Abinoam P. Marques Jr | 2017-09-25 | 1 | -6/+0 |
| | |||||
* | Use get_character name because it implies effort | Abinoam P. Marques Jr | 2017-09-25 | 1 | -1/+1 |
| | |||||
* | Enforce double quotes on strings | Abinoam P. Marques Jr | 2017-07-07 | 1 | -3/+3 |
| | |||||
* | Remove unecessary options param | Abinoam P. Marques Jr | 2017-07-02 | 1 | -3/+3 |
| | |||||
* | Rubocop automatic corrections | Abinoam P. Marques Jr | 2017-06-30 | 1 | -22/+21 |
| | |||||
* | Deprecate HighLine::Terminal::CHARACTER_MODE constant and unify ↵ | Abinoam Praxedes Marques Jr | 2015-12-14 | 1 | -0/+6 |
| | | | | #character_mode approach | ||||
* | Improve HighLine::Terminal and childs documentation | Abinoam Praxedes Marques Jr | 2015-12-14 | 1 | -3/+10 |
| | |||||
* | Improve HighLine::Terminal documentation | Abinoam Praxedes Marques Jr | 2015-12-14 | 1 | -3/+44 |
| | |||||
* | Promote some methods up to base class reducing duplication | Abinoam Praxedes Marques Jr | 2015-11-17 | 1 | -0/+69 |
| | |||||
* | Remove unecessary begin clause. Use def as 'delimiter'. | Abinoam Praxedes Marques Jr | 2015-09-09 | 1 | -5/+3 |
| | |||||
* | Skip Readline tests for Windows also' | Abinoam Praxedes Marques Jr | 2015-07-23 | 1 | -0/+4 |
| | |||||
* | Make Readline tests be skipped when JRuby or Rubinius | Abinoam Praxedes Marques Jr | 2015-07-19 | 1 | -0/+4 |
| | | | | | | | We currently didn't find a way to test Readline on JRuby and Rubinius without echoing to console. At MRI Ruby we set Readline.input and Readline.output to File instances. | ||||
* | Make HighLine::Terminal instances respect HighLine defined input and output | Abinoam Praxedes Marques Jr | 2015-07-19 | 1 | -3/+10 |
| | | | | | Also save input and output as HighLine::Terminal instance variables reducing argument passing needs. | ||||
* | Add Terminal::IOConsole (copy Terminal::UnixStty) | Abinoam Praxedes Marques Jr | 2015-07-17 | 1 | -2/+16 |
| | |||||
* | Add some rdoc markup for correct doc generation | Abinoam Praxedes Marques Jr | 2015-07-17 | 1 | -0/+1 |
| | | | | | Some copyright notes above scoped class/module definitions were mixing up with the main scope (HighLine) class documentation. | ||||
* | Remove commented (non functional) code | Abinoam Praxedes Marques Jr | 2015-06-17 | 1 | -68/+0 |
| | | | | As suggested by @maurogeorge at https://github.com/JEG2/highline/pull/140#discussion_r32679353 | ||||
* | remove unneccessary shebang lines from *.rb files in lib | Michal Cichra | 2015-06-15 | 1 | -1/+0 |
| | |||||
* | Move #raw_no_echo_mode_exec from HighLine to Terminal | Abinoam Praxedes Marques Jr | 2015-05-21 | 1 | -0/+9 |
| | | | | | | | | I think the "knowledge" about how to exec a block in raw no echo mode should be contained in the HighLine::Terminal itself. (It doesn't depend on anything outside that class!) With the help of the recent commit, we could move it to there in this step. | ||||
* | Ask 'terminal' for jruby? status. Don't rely on Constants | Abinoam Praxedes Marques Jr | 2015-04-29 | 1 | -0/+4 |
| | |||||
* | Scaffold HighLine::Terminal base class | Abinoam Praxedes Marques Jr | 2015-04-29 | 1 | -1/+31 |
| | |||||
* | Indent only | Abinoam Praxedes Marques Jr | 2015-04-29 | 1 | -46/+46 |
| | |||||
* | Turn SystemExtensions into Terminal | Abinoam Praxedes Marques Jr | 2015-04-29 | 1 | -0/+76 |