Problem: Terminal window CR-NL conversions may cause problems.
Solution: Avoid most conversions, only fetch the current backspace key value
from the tty. (mostly by Ozaki Kiichi, closes#2278)
Problem: Typed key is lost when the terminal window is closed in exit
callback. (Gabriel Barta)
Solution: When the current window changes bail out of the wait loop. (closes
#2302)
Problem: In a terminal window the popup menu is not cleared. (Gerry
Agbobada)
Solution: Redraw when SOME_VALID is used instead of NOT_VALID. (closes
#2194)
Problem: Terminal colors on an MS-Windows console are not matching the
normal colors.
Solution: Use the normal colors for the terminal. (Yasuhiro Matsumoto,
closes#2087)
Problem: Terminal window does not use Normal colors.
Solution: For the GUI and when 'termguicolors' is enabled, use the actual
foreground and background colors for the terminal. (Yasuhiro
Matsumoto, closes#2067)
Use the "Terminal" highlight group if defined.
Problem: Terminal window in Normal mode has wrong background.
Solution: Store the default background and use it for clearning until the
end of the line. Not for below the last line, since there is no
text there.
Problem: Test_terminal_cwd is flaky. MS-Windows: term_start() "cwd"
argument does not work.
Solution: Wait for the condition to be true instead of using a sleep.
Pass the directory to winpty.
Problem: term_start() does not take callbacks. When using two terminals
without a job only one is read from. A terminal without a window
returns the wrong pty.
Solution: Support "callback", "out_cb" and "err_cb". Fix terminal without a
window. Fix reading from multiple channels.
Problem: ":term NONE" does not work on MS-Windows.
Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro
Matsumoto, closes#2058, closes#2045)
Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
Solution: Use CR instead of NL after every line. Make the EOF text work
properly. Add the ++eof argument to :terminal.
Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto,
closes#2043) Add the "eof_chars" option.
Problem: A terminal window with a running job behaves different from a
window containing a changed buffer.
Solution: Do not set 'bufhidden' to "hide". Fix that a buffer where a
terminal used to run is listed as "[Scratch]".
Problem: MS-Windows: cursor in terminal blinks even though the blinking
cursor was disabled on the system.
Solution: Use GetCaretBlinkTime(). (Ken Takata)
Problem: When 'encoding' is a double-byte encoding, pasting a register into
a terminal ends up with the wrong characters.
Solution: Convert from 'encoding' to utf-8. (Yasuhiro Matsumoto, closes
#2007)
Problem: Terminal blinking cursor not correct in the GUI.
Solution: Set blinkoff correctly. Also make the cursor blink on MS-Windows
by default. (Ken Takata)
Problem: When 'encoding' is set to a multi-byte encoding other than utf-8
the characters from ther terminal are messed up.
Solution: Convert displayed text from utf-8 to 'encoding' for MS-Windows.
(Yasuhiro Matsumoto, close#2000)
Problem: Cursor in terminal window blinks by default, while in a real xterm
it does not blink, unless the -bc argument is used.
Solution: Do not use a blinking cursor by default.