Mercurial > hg-stable
diff tests/test-editor-filename.t @ 42566:f802a75da585
patch: use a short, fixed-size message for last line of prompt (issue6158)
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.
Differential Revision: https://phab.mercurial-scm.org/D6563
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Thu, 20 Jun 2019 14:45:52 -0700 |
parents | 4bf1889456f3 |
children | ac362d5a7893 |
line wrap: on
line diff
--- a/tests/test-editor-filename.t Thu Jun 20 11:40:47 2019 -0700 +++ b/tests/test-editor-filename.t Thu Jun 20 14:45:52 2019 -0700 @@ -47,15 +47,18 @@ > EOF diff --git a/one b/one new file mode 100644 - examine changes to 'one'? [Ynesfdaq?] y + examine changes to 'one'? + (enter ? for help) [Ynesfdaq?] y @@ -0,0 +1,1 @@ +1 - record change 1/2 to 'one'? [Ynesfdaq?] e + record change 1/2 to 'one'? + (enter ? for help) [Ynesfdaq?] e *.diff (glob) editor exited with exit code 1 - record change 1/2 to 'one'? [Ynesfdaq?] q + record change 1/2 to 'one'? + (enter ? for help) [Ynesfdaq?] q abort: user quit [255]