| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Using feedkeys() in a terminal window may trigger mappings.
(Charles Sheridan)
Solution: Avoid triggering a mapping when peeking for a key.
|
|
|
|
|
| |
Problem: Terminal screen dump does not include cursor position.
Solution: Mark the cursor position in the cump.
|
|
|
|
|
| |
Problem: No test for the popup menu positioning.
Solution: Add a screendump test for the popup menu.
|
|
|
|
|
| |
Problem: No test using a screen dump yet.
Solution: Add a test for C syntax highlighting. Add helper functions.
|
|
|
|
|
| |
Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
Solution: Initialize variables.
|
|
|
|
|
|
| |
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
|
|
|
|
|
| |
Problem: Shift-Tab does not work in a terminal window.
Solution: Recognize Shift-Tab key press. (Jsees Luehrs, closes #2644)
|
|
|
|
|
|
| |
Problem: Cursor is in the wrong line when using a WinBar in a Terminal
window.
Solution: Adjust the row number. (Christian Brabandt, closes #2362)
|
|
|
|
|
|
| |
Problem: BufWinEnter event fired when opening hidden terminal.
Solution: Do not fire BufWinEnter when the terminal is midden and does not
open a window. (Kenta Sato, closes #2636)
|
|
|
|
|
| |
Problem: Out-of-memory situation not correctly handled. (Coverity)
Solution: Check for NULL value.
|
|
|
|
|
|
| |
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629)
|
|
|
|
|
| |
Problem: Reduntant conditions.
Solution: Remove them. (Dominique Pelle)
|
|
|
|
|
|
|
| |
Problem: Redraw flicker when moving the mouse outside of terminal window.
Solution: Instead of updating the cursor color and shape every time leaving
and entering a terminal window, only update when different from
the previously used cursor.
|
|
|
|
|
|
| |
Problem: Terminal window: some vterm responses are delayed.
Solution: After writing input. check if there is output to read. (Ozaki
Kiichi, closes #2594)
|
|
|
|
|
| |
Problem: Crash when term_start() fails.
Solution: Initialize winpty_err.
|
|
|
|
|
|
| |
Problem: Crash when calling term_start() with empty argument.
Solution: Check for invalid argument. (Yasuhiro Matsomoto, closes #2503)
Fix memory leak.
|
|
|
|
|
| |
Problem: Cursor in terminal not always updated.
Solution: Call gui_mch_flush(). (Ken Takata)
|
|
|
|
|
|
|
| |
Problem: Cannot drag status line or vertical separator of new terminal
window. (UncleBill)
Solution: Adjust mouse row and column computation. (Yasuhiro Matsumoto,
closes #2410)
|
|
|
|
|
|
| |
Problem: Terminal window colors wrong when using Terminal highlighting.
Solution: Set ansi_index when setting the default color. Also cache the
color index for Terminal. (Ozaki Kiichi, closes #2393)
|
|
|
|
|
|
| |
Problem: The Terminal highlighting doesn't work in a terminal. (Ozaki
Kiichi)
Solution: Use the Terminal highlighting when the cterm index is zero.
|
|
|
|
|
|
| |
Problem: Libvterm ANSI colors can not always be recognized from the RGB
values. The default color is wrong when t_RB is empty.
Solution: Add the ANSI color index to VTermColor.
|
|
|
|
|
|
| |
Problem: MS-Windows: job in terminal can't get back to Vim.
Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes
#2360)
|
|
|
|
|
|
| |
Problem: Trouble when using ":term ++close" with autocmd. (Gabriel Barta)
Solution: Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf.
(closes #2339)
|
|
|
|
|
|
| |
Problem: Mouse events in a terminal window may cause endless loop.
Solution: Adjust position computation. Don't stuff a mouse event when
coming from normal_cmd().
|
|
|
|
|
| |
Problem: Accessing freed memory in term_wait(). (Dominique Pelle)
Solution: Check that the buffer still exists.
|
|
|
|
|
|
| |
Problem: Cannot use 'balloonexpr' in a terminal.
Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
terminal. Initial implementation for Unix with GUI.
|
|
|
|
|
|
| |
Problem: Bracketed paste does not work well in terminal window.
Solution: Send translated string to job right away. (Ozaki Kiichi, closes
#2341)
|
|
|
|
|
|
| |
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: Program in terminal window gets NL instead of CR. (Lifepillar)
Solution: Check the tty setup more often. (closes #1998)
|
|
|
|
|
|
| |
Problem: MS-Windows: term_start() does not support environment.
Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes
#2264)
|
|
|
|
|
|
| |
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.
|