After quitting vim, file contents remain visible
Categories
(Firefox Build System :: MozillaBuild, defect)
Tracking
(Not tracked)
People
(Reporter: mhentges, Assigned: mhentges)
References
Details
Attachments
(3 files)
To reproduce
vi /etc/bash/bash.bashrc
!q
- See attached image
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Seems to be related to the TERM=cygwin
workaround for hg colouring.
Assignee | ||
Comment 2•3 years ago
|
||
We can remove the TERM=cygwin
workaround by resolving that issue a different way.
Assignee | ||
Comment 3•3 years ago
|
||
The vim-clearing issue was caused by our changing of $TERM
to be
cygwin
instead of the upstream default of xterm-256color
.
That $TERM
change was to avoid an hg
bug [1] around detecting the
color mode, which assumed that any terminal that had "xterm"
in the
$TERM
was coloured with ansi sequences.
Fortunately, that can be worked around by explicitly setting the
color.mode
in the mercurial.ini
that we ship.
Note that this doesn't break compatibility with Mintty: hg
output
appears to still be properly coloured.
[1] https://bz.mercurial-scm.org/show_bug.cgi?id=6640
Depends on D137905
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/mozilla-build/rev/c840f94df32a
Fix vim-quitting not fully cleaning up terminal r=glandium
Assignee | ||
Comment 6•3 years ago
|
||
As of mercurial==6.1
, the issue with hg
coloring not
working with xterm
-y Command Prompts has been resolved:
https://bz.mercurial-scm.org/show_bug.cgi?id=6640
Depends on D140350
Updated•2 years ago
|
Description
•