| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Terminal window mistreats composing characters.
Solution: Count composing characters with the base character. (Ozaki Kiichi,
closes #2195)
|
|
|
|
|
| |
Problem: Can't build on MS-Windows.
Solution: Adjust #ifdef and add #ifdefs.
|
|
|
|
|
| |
Problem: Actual fg and bg colors of terminal are unknown.
Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
|
|
|
|
|
|
|
| |
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 window is not redrawn after CTRL-L. (Marcin Szamotulski)
Solution: Redraw the whole terminal when w_redr_type is NOT_VALID.
|
|
|
|
|
| |
Problem: Motif: typing in terminal window is slow.
Solution: Do not redraw the whole terminal window but only was was changed.
|
|
|
|
|
| |
Problem: libvterm colors differ from xterm.
Solution: Use the xterm colors for libvterm.
|
|
|
|
|
| |
Problem: W_WINCOL() is always the same.
Solution: Expand the macro.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Problem: Endless resize when terminal showing in two buffers. (Hirohito
Higashi)
Solution: Set a flag to prevent resizing the window.
|
|
|
|
|
| |
Problem: Cannot define a toolbar for a window.
Solution: Add a window-local toolbar.
|
|
|
|
|
|
| |
Problem: Cannot specify mappings for the terminal window.
Solution: Add the :tmap command and associated code. (Jacob Askeland,
closes #2073)
|
|
|
|
|
|
|
| |
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: Converting cterm color fails for grey ramp.
Solution: Use index instead of number.
|
|
|
|
|
|
|
|
| |
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: Stuck in redraw loop when 'lazyredraw' is set.
Solution: Don't loop on update_screen() when not redrawing. (Yasuhiro
Matsumoto, closes #2082)
|
|
|
|
|
| |
Problem: Background color wrong if job changes background color.
Solution: Get the background color from vterm.
|
|
|
|
|
|
|
| |
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: Memory leak for eof_chars terminal option and buffer name.
Solution: Free job options. Free the buffer name
|
|
|
|
|
|
|
|
| |
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: MS-Windows: mouse does not work in terminal.
Solution: Force the winpty mouse on. (Yasuhiro Matsumoto, closes #2072)
|
|
|
|
|
|
| |
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: Coverity warns for NULL check and using variable pointer as an
array.
Solution: Remove the NULL check. Make "argvar" an array.
|
|
|
|
|
| |
Problem: Coverity: no check for NULL command.
Solution: Check for NULL list item.
|
|
|
|
|
| |
Problem: term_start() does not allow in_io, out_io and err_io options.
Solution: Add JO_OUT_IO to get_job_options().
|
|
|
|
|
|
| |
Problem: Strike-through text not supported.
Solution: Add support for the "strikethrough" attribute. (Christian
Brabandt, Ken Takata)
|
|
|
|
|
| |
Problem: ++eof argument for terminal only available on MS-Windows.
Solution: Also support ++eof on Unix. Add a test.
|
|
|
|
|
|
| |
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: Warnings from 64-bit compiler. (Christian Brabandt)
Solution: Add type casts.
|
|
|
|
|
|
|
| |
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: Xterm cursor blinking status may be inverted.
Solution: Use another request to get the blink status and compare with the
cursor style report
|
|
|
|
|
| |
Problem: Unnecessarily updating screen after timer callback.
Solution: Check if calling the timer sets must_redraw.
|
|
|
|
|
| |
Problem: Cannot open a terminal without running a job in it.
Solution: Make ":terminal NONE" open a terminal with a pty.
|
|
|
|
|
|
| |
Problem: MS-Windows: cursor in terminal blinks even though the blinking
cursor was disabled on the system.
Solution: Use GetCaretBlinkTime(). (Ken Takata)
|
|
|
|
|
|
| |
Problem: Terminal title is wrong when 'encoding' is DBCS.
Solution: Convert the title from DBCS to utf-8. (Yasuhiro Matsumoto, closes
#2009)
|
|
|
|
|
|
| |
Problem: Using wrong character conversion for DBCS.
Solution: Use utf_char2bytes instead of mb_char2bytes. (Yasuhiro Matsumoto,
closes #2012)
|
|
|
|
|
|
|
| |
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: second byte of double-byte char wrong
Solution: Set the second byte to NUL only for utf-8 and non-multibyte.
|
|
|
|
|
| |
Problem: Terminal feature always requires multi-byte feature.
Solution: Remove #ifdef FEAT_MBYTE, disable terminal without multi-byte.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Cannot send lines to a terminal job on MS-Windows.
Solution: Set jv_in_buf. Command doesn't get EOF yet though.
|
|
|
|
|
|
| |
Problem: Cannot send lines to a terminal job.
Solution: Make [range]terminal send selected lines to the job.
Use ++rows and ++cols for the terminal size.
|
|
|
|
|
| |
Problem: initial info about blinking cursor is wrong
Solution: Invert the blink flag. Add t_VS to stop a blinking cursor.
|
|
|
|
|
| |
Problem: Crash when switching terminal modes. (Nikolai Pavlov)
Solution: Check that there are scrollback lines.
|