( )⚙ D6563 patch: use a short, fixed-size message for last line of prompt (issue6158)

This is an archive of the discontinued Mercurial Phabricator instance.

patch: use a short, fixed-size message for last line of prompt (issue6158)
ClosedPublic

Authored by spectral on Jun 20 2019, 6:09 PM.

Details

Summary

See issue6158 and the previous commit for examples of what might go wrong if we
have some combinations of readline version and terminal and need to wrap the
line.

Briefly: readline may not display the beginning of the last line of the prompt,
or it may print over it with the end of the prompt, making it difficult for
users to know what's going on.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

spectral created this revision.Jun 20 2019, 6:09 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.