File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 66 (#28 )
77
88 ``` php
9- $stdio->on('line', function ($line) use ($stdio) {
10- $stdio->getReadline()->setInput($line . '!');
11- });
12- ```
9+ $stdio->on('line', function ($line) use ($stdio) {
10+ $stdio->getReadline()->setInput($line . '!');
11+ });
12+ ```
1313
1414## 0.3.0 (2015-05-18)
1515
@@ -28,23 +28,23 @@ $stdio->on('line', function ($line) use ($stdio) {
2828 (#11)
2929
3030 ```php
31- $stdio->getReadline()->setEcho('*');
32- ```
31+ $stdio->getReadline()->setEcho('*');
32+ ```
3333
3434* Feature: Add accessors for text input buffer and current cursor position
3535 (#8 and #9)
3636
3737 ```php
38- $stdio->getReadline()->setInput('hello);
39- $stdio->getReadline()->getCursorPosition();
40- ```
38+ $stdio->getReadline()->setInput('hello' );
39+ $stdio->getReadline()->getCursorPosition();
40+ ```
4141
4242* Feature: All setters now return self to allow easy method chaining
4343 (#7)
4444
4545 ```php
46- $stdio->getReadline()->setPrompt('Password: ')->setEcho('*')->setInput('secret');
47- ```
46+ $stdio->getReadline()->setPrompt('Password: ')->setEcho('*')->setInput('secret');
47+ ```
4848
4949* Feature: Only redraw() readline when necessary
5050 (#10 and #14)
You can’t perform that action at this time.
0 commit comments