2017 © Pedro Peláez
 

library console-diff-renderer

only write output to a console that has changed

image

graze/console-diff-renderer

only write output to a console that has changed

  • Friday, June 22, 2018
  • by graze
  • Repository
  • 8 Watchers
  • 1 Stars
  • 6,160 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 0 Forks
  • 1 Open issues
  • 18 Versions
  • 33 % Grown

The README.md

Console Diff Renderer

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

Only render things that have changed to the console., (*2)

asciicast, (*3)

Usage

$output = new DiffConsoleOutput($existing);

$output->reWrite([
    'first line',
    'second line',
]);

$output->reWrite([
    'first line here',
    'second line',
]);

This will navigate the cursor to the end of first line and write here then navigate the cursor back to the end., (*4)

  • Supports Formatting
  • Supports ANSI control codes
  • Will wrap around based on the terminal size
  • Can trim based on the terminal size
  • Will only write the number of lines that are visible to the user

Install

Via Composer, (*5)

``` bash $ composer require graze/console-diff-renderer, (*6)


## Development ```bash $ make build

Testing

$ make test

Contributing

Please see CONTRIBUTING for details., (*7)

Security

If you discover any security related issues, please email security@graze.com instead of using the issue tracker., (*8)

Credits

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions

22/06 2018

dev-master

9999999-dev https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

22/06 2018

0.6.2

0.6.2.0 https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

05/02 2018

dev-composer-update

dev-composer-update https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

29/06 2017

0.6.1

0.6.1.0 https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

29/06 2017

dev-newlines

dev-newlines https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

26/06 2017

dev-hide-cursor

dev-hide-cursor https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

23/06 2017

0.6.0

0.6.0.0 https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

23/06 2017

dev-pre-format

dev-pre-format https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

16/06 2017

0.5.2

0.5.2.0 https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

16/06 2017

0.5.1

0.5.1.0 https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

16/06 2017

0.5

0.5.0.0 https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

16/06 2017

0.4.2

0.4.2.0 https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

15/06 2017

0.4.1

0.4.1.0 https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

15/06 2017

0.4.0

0.4.0.0 https://github.com/graze/console-diff-renderer

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze console-diff-renderer

09/06 2017

0.3.1

0.3.1.0 https://github.com/graze/buffered-console

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze buffered-console

09/06 2017

0.3

0.3.0.0 https://github.com/graze/buffered-console

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze buffered-console

07/06 2017

0.2.1

0.2.1.0 https://github.com/graze/buffered-console

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze buffered-console

07/06 2017

0.1

0.1.0.0 https://github.com/graze/buffered-console

only write output to a console that has changed

  Sources   Download

MIT

The Requires

 

The Development Requires

by Harry Bragg

graze buffered-console