| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
|
|
|
|
|
| |
Problem: MS-Windows: terminal test fails.
Solution: Close redirected output file earlier.
|
|
|
|
|
|
| |
Problem: MS-Windows: redirecting terminal output does not work.
Solution: Intercept the text written to the terminal and write it to the
file.
|
|
|
|
|
|
| |
Problem: Terminal window is redrawn too often and scrolling is repeated.
Solution: Don't scroll immediately but only when redrawing. Avoid redrawing
the whole terminal window on every change.
|
|
|
|
|
| |
Problem: GUI: click on tab fails when the focus is in a terminal window.
Solution: Handle K_TABLINE.
|
|
|
|
|
|
|
| |
Problem: Lose contact with jobs when :gui forks.
Solution: Don't fork when there is a running job. Make log message for a
died job clearer. Also close the terminal when stderr and stdout
are the same FD.
|
|
|
|
|
| |
Problem: Duplicate term options after renaming.
Solution: Remove the old names 'termkey', 'termsize' and 'terminalscroll'.
|
|
|
|
|
| |
Problem: BufWinEnter does not work well for a terminal window.
Solution: Do not trigger BufWinEnter when opening a terminal window.
|
|
|
|
|
|
| |
Problem: No test for 'termwinkey'.
Solution: Add a test. Make feedkeys() handle terminal_loop() returning
before characters are consumed.
|
|
|
|
|
| |
Problem: Cannot use 256 colors in a MS-Windows console.
Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821)
|
|
|
|
|
| |
Problem: MS-Windows: term_start() does not set job_info() cmd.
Solution: Share the code from job_start() to set jv_argv.
|
|
|
|
|
| |
Problem: Build failure on MS-Windows.
Solution: Build job arguments for MS-Windows. Fix allocating job twice.
|
|
|
|
|
|
| |
Problem: Terminal window options are named inconsistently.
Solution: prefix terminal window options with "termwin". Keep the old names
for now as an alias.
|
|
|
|
|
| |
Problem: Crash when terminal API call deletes the buffer.
Solution: Lock the buffer while calling a function. (closes #2813)
|
|
|
|
|
| |
Problem: Cannot specify a minimal size for a terminal window.
Solution: Support the "rows*cols" format for 'winsize'.
|
|
|
|
|
|
| |
Problem: When a timer is running a terminal window may not close after a
shell has exited.
Solution: Call job_status() more often.
|
|
|
|
|
| |
Problem: Terminal buffer can be 1 more than 'terminalscroll' lines.
Solution: Change > to >=.
|
|
|
|
|
| |
Problem: Term_setsize() does not give an error in a normal buffer.
Solution: Add an error message.
|
|
|
|
|
| |
Problem: Terminal scrollback is not limited.
Solution: Add the 'terminalscroll' option.
|
|
|
|
|
| |
Problem: Term_setsize() is not implemented yet.
Solution: Implement it.
|
|
|
|
|
| |
Problem: Cannot sent CTRL-\ to a terminal window.
Solution: Make CTRL-W CTRL-\ send CTRL-\ to a terminal window.
|
|
|
|
|
| |
Problem: 64 bit compiler warnings.
Solution: change type, add type cast. (Mike Williams)
|
|
|
|
|
|
| |
Problem: Can't set ANSI colors of a terminal window.
Solution: Add term_setansicolors(), term_getansicolors() and
g:term_ansi_colors. (Andy Massimino, closes #2747)
|
|
|
|
|
|
| |
Problem: ml_get errors when using terminal window for shell command.
(Blay263)
Solution: Do not change the size of the current window.
|
|
|
|
|
| |
Problem: Memory allocated by libvterm does not show up in profile.
Solution: Pass allocater functions to vterm_new().
|
|
|
|
|
| |
Problem: Test failure because of not allocating enough space.
Solution: Allocate more bytes.
|
|
|
|
|
| |
Problem: Showing dump diff doesn't mention both file names.
Solution: Add the file name in the separator line.
|
|
|
|
|
| |
Problem: Warnings from 64 bit compiler.
Solution: Add type casts. (Mike Williams)
|
|
|
|
|
| |
Problem: The terminal API "drop" command doesn't support options.
Solution: Implement the options.
|
|
|
|
|
| |
Problem: term_dumpwrite() does not output composing characters.
Solution: Use the cell index.
|
|
|
|
|
|
| |
Problem: Terminal API may call a function not meant to be called by this
API.
Solution: Require the function to start with Tapi_.
|
|
|
|
|
| |
Problem: Job in terminal can't communicate with Vim.
Solution: Add the terminal API.
|
|
|
|
|
|
| |
Problem: In a terminal dump NUL and space considered are different,
although they are displayed the same.
Solution: When encountering NUL handle it like space.
|
|
|
|
|
| |
Problem: Compiler warning for possible loss of data.
Solution: Use size_t instead of int. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: Options for term_dumpdiff() and term_dumpload() not implemented
yet.
Solution: Implement the relevant options.
|
|
|
|
|
| |
Problem: term_dumpload() does not use the right colors.
Solution: Initialize colors when not using create_vterm().
|
|
|
|
|
| |
Problem: Need to close terminal after shell stopped.
Solution: Make :terminal without argument close the window by default.
|
|
|
|
|
| |
Problem: CTRL-W in system terminal does not go to job.
Solution: Do not use CTRL-W as a terminal command in a system terminal.
|
|
|
|
|
| |
Problem: Cannot build without GUI.
Solution: Add #ifdef.
|
|
|
|
|
|
| |
Problem: Shell commands in the GUI use a dumb terminal.
Solution: Add the "!" flag to 'guioptions' to execute system commands in a
special terminal window. Only for Unix now.
|
|
|
|
|
| |
Problem: Cannot build with +terminal but without +menu.
Solution: Add #ifdef. (Damien)
|
|
|
|
|
|
|
| |
Problem: Cannot select text in a terminal with the mouse.
Solution: When a job in a terminal is not consuming mouse events, use them
for modeless selection. Also stop Insert mode when clicking in a
terminal window.
|
|
|
|
|
| |
Problem: No autocommand specifically for opening a terminal window.
Solution: Add TerminalOpen. (?, closes #2484)
|
|
|
|
|
| |
Problem: :qall never exits with an active terminal window.
Solution: Add a way to kill a job in a terminal window.
|
|
|
|
|
|
| |
Problem: Terminal windows in a session are not properly restored.
Solution: Add "terminal" in 'sessionoptions'. When possible restore the
command running in a terminal.
|
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
|
|
|
|
|
|
| |
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.
|