| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Older compilers don't know uint8_t.
Solution: Use char_u instead.
|
|
|
|
|
| |
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: Using termdebug results in 100% CPU time. (tomleb)
Solution: Use polling instead of select().
|
|
|
|
|
| |
Problem: Encoding of error message wrong in Cygwin terminal.
Solution: Get locale from environment variables. (Ken Takata)
|
|
|
|
|
| |
Problem: Using window toolbar changes state.
Solution: Always execute window toolbar actions in Normal mode.
|
|
|
|
|
|
| |
Problem: Syntax timeout not used correctly.
Solution: Do not pass the timeout to syntax_start() but set it explicitly.
(Yasuhiro Matsumoto, closes #2139)
|
|
|
|
|
| |
Problem: Cannot define a toolbar for a window.
Solution: Add a window-local toolbar.
|
|
|
|
|
|
| |
Problem: Timer causes error on exit from Ex mode. (xtal8)
Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt,
closes #2079)
|
|
|
|
|
|
| |
Problem: Cannot specify mappings for the terminal window.
Solution: Add the :tmap command and associated code. (Jacob Askeland,
closes #2073)
|
|
|
|
|
|
|
|
| |
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: Various small quickfix issues.
Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr().
function. Add a couple more tests. Update documentation.
(Yegappan Lakshmanan)
|
|
|
|
|
|
| |
Problem: GTK build has compiler warnings. (Christian Brabandt)
Solution: Get screen size with a different function. (Ken Takata, Yasuhiro
Matsumoto)
|
|
|
|
|
|
|
|
| |
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: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
|
|
|
|
|
|
| |
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: Old compiler doesn't know uint32_t. Warning for using NULL instead
of NUL.
Solution: Use UINT32_T. Use NUL instead of NULL.
|
|
|
|
|
|
| |
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: Cannot parse text with 'erroformat' without changing a quickfix
list.
Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
|
|
|
|
|
| |
Problem: Terminal without job updates slowly in GUI.
Solution: Poll for input when a channel has the keep_open flag.
|
|
|
|
|
| |
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: Libvterm has its own idea of character width.
Solution: Use the Vim functions for character width and composing to avoid a
mismatch. (idea by Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: initial info about blinking cursor is wrong
Solution: Invert the blink flag. Add t_VS to stop a blinking cursor.
|
|
|
|
|
|
| |
Problem: When term_sendkeys() sends many keys it may get stuck in writing
to the job.
Solution: Make the write non-blocking, buffer keys to be sent.
|
|
|
|
|
|
| |
Problem: Scrolling in a terminal hwindow as flicker when the Normal
background differs from the terminal window background.
Solution: Set the attribute to clear with.
|
|
|
|
|
|
| |
Problem: Get "no write since last change" error in terminal window.
Solution: Use another message when closing a terminal window. Make ":quit!"
also end the job.
|
|
|
|
|
| |
Problem: MS-Windows: has('terminal') does not check existence of dll file.
Solution: Check if the winpty dll file can be loaded. (Ken Takata)
|
|
|
|
|
| |
Problem: Terminal may not use right characters for BS and Enter.
Solution: Get the characters from the tty.
|
|
|
|
|
| |
Problem: MS-Windows: passing arglist to job has escaping problems.
Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954)
|
|
|
|
|
| |
Problem: Terminal window cursor shape not supported in the GUI.
Solution: Use the terminal window cursor shape in the GUI.
|
|
|
|
|
| |
Problem: Cannot get terminal window cursor shape or attributes.
Solution: Support cursor shape, attributes and color.
|
|
|
|
|
| |
Problem: Cannot set terminal size with options.
Solution: Add "term_rows", "term_cols" and "vertical".
|
|
|
|
|
| |
Problem: Function name mch_stop_job() is confusing.
Solution: Rename to mch_signal_job().
|
|
|
|
|
|
| |
Problem: Can't use the alternate screen in a terminal window.
Solution: Initialze the alternate screen. (Yasuhiro Matsumoto, closes
#1957) Add term_getaltscreen().
|
|
|
|
|
| |
Problem: Cannot get the scroll count of a terminal window.
Solution: Add term_getscrolled().
|
|
|
|
|
| |
Problem: No completion for :mapclear.
Solution: Add completion (Nobuhiro Takasaki et al. closes #1943)
|
|
|
|
|
| |
Problem: Using CTRL-\ CTRL-N in terminal is inconsistent.
Solution: Stay in Normal mode.
|
|
|
|
|
|
| |
Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual
mode.
Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.
|
|
|
|
|
|
|
|
| |
Problem: Using mouse scroll while a terminal window has focus and the mouse
pointer is on another window does not work. Same for focus in a
non-terminal window ahd the mouse pointer is over a terminal
window.
Solution: Send the scroll action to the right window.
|
|
|
|
|
|
|
| |
Problem: There may be side effects when a channel appends to a buffer that
is not the current buffer.
Solution: Properly switch to another buffer before appending. (Yasuhiro
Matsumoto, closes #1926, closes #1937)
|
|
|
|
|
|
|
| |
Problem: No redraw after terminal was closed.
Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes
#1924) Add function to check for messages even when input is
available.
|
|
|
|
|
| |
Problem: Using multiple ch_log functions is clumsy.
Solution: Use variable arguments. (Ozaki Kiichi, closes #1919)
|
|
|
|
|
|
| |
Problem: :argadd without argument can't handle space in file name. (Harm te
Hennepe)
Solution: Escape the space. (Yasuhiro Matsumoto, closes #1917)
|
|
|
|
|
|
| |
Problem: Cannot get the name of the pty of a job.
Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920)
Add the term_gettty() function.
|
|
|
|
|
| |
Problem: Wrong function prototype because of missing static.
Solution: Add "static".
|
|
|
|
|
|
| |
Problem: MS-Windows: fopen() and open() prototypes do not match the ones in
the system header file. Can't build without FEAT_MBYTE.
Solution: Add "const". Move macro to after including protoo.h.
|
|
|
|
|
| |
Problem: Cannot kill a job in a terminal with CTRL-C.
Solution: Set the controlling tty and send SIGINT. (closes #1910)
|
|
|
|
|
|
| |
Problem: Buffer hangs around whem terminal window is closed.
Solution: When the job has ended wipe out a terminal buffer when the window
is closed.
|
|
|
|
|
| |
Problem: With 8 colors the bold attribute is not set properly.
Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901)
|