Ink: Screen does not clear properly if terminal lines wrap

Created on 18 Feb 2019  路  3Comments  路  Source: vadimdemedes/ink

When a component has a line that wraps, refreshing doesn't seem to work properly on rerender.

Repro steps:

  1. git clone https://github.com/npm/libpickupdates && cd libpickupdates
  2. git checkout bed8908
  3. npm i && npm run build
  4. node index.js
  5. Move around with arrow keys, press spacebar, etc, in the update picker

See gif:

kapture 2019-02-18 at 11 57 30

All 3 comments

That's actually fixed already, but didn't release it yet. I'm going to address other issues you've pointed out and then release it all at once :) Hope to get it all sorted out in a few hours!

bugs that are already fixed are the best kinds of bug. Thanks, @vadimdemedes!

Released 2.0.0-13 and tested libpickupdates with it, seems to be ok now!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danikaze picture danikaze  路  5Comments

KyleAMathews picture KyleAMathews  路  3Comments

maticzav picture maticzav  路  6Comments

gc picture gc  路  6Comments

colinking picture colinking  路  3Comments