summaryrefslogtreecommitdiff
path: root/src/proto/terminal.pro
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3801: if a terminal shows in two windows, only one is redrawnv8.2.3801Bram Moolenaar2021-12-131-0/+1
| | | | | | Problem: If a terminal shows in two windows, only one is redrawn. Solution: Reset the dirty row range only after redrawing all windows. (closes #9341)
* patch 8.2.3761: focus change is not passed on to a terminal windowv8.2.3761Bram Moolenaar2021-12-081-0/+1
| | | | | | Problem: Focus change is not passed on to a terminal window. Solution: If the current window is a terminal and focus events are enabled send a focus event escape sequence to the terminal.
* patch 8.2.3640: freeze when calling term_wait() in a close callbackv8.2.3640Bram Moolenaar2021-11-211-0/+1
| | | | | Problem: Freeze when calling term_wait() in a close callback. Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
* patch 8.2.3628: looking terminal colors is a bit slowv8.2.3628Bram Moolenaar2021-11-201-1/+3
| | | | | Problem: Looking terminal colors is a bit slow. Solution: Cache the terminal colors. (closes #9130, closes #9058)
* patch 8.2.3624: when renaming a terminal buffer status text is not updatedv8.2.3624Bram Moolenaar2021-11-191-0/+1
| | | | | | Problem: When renaming a terminal buffer the status text is not updated. Solution: Clear the cached status text when renaming a terminal buffer. (closes #9162)
* patch 8.2.3516: terminal window does not have transparent backgroundv8.2.3516Milly2021-10-151-1/+0
| | | | | | Problem: Terminal window does not have transparent background when 'termguicolors' is used. Solution: Fix the background color. (closes #2361, closes #9002)
* patch 8.2.2830: terminal colors are not updated when 'background' is setv8.2.2830Bram Moolenaar2021-05-031-2/+3
| | | | | | Problem: Terminal colors are not updated when 'background' is set. Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski, closes #8171, closes #8150)
* patch 8.2.1662: :mksession does not restore shared terminal buffer properlyv8.2.1662Bram Moolenaar2020-09-111-1/+1
| | | | | Problem: :mksession does not restore shared terminal buffer properly. Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
* patch 8.2.0196: blocking commands for a finished job in a popup windowv8.2.0196Bram Moolenaar2020-02-021-0/+1
| | | | | Problem: Blocking commands for a finished job in a popup window. Solution: Do not block commands if the job has finished. Adjust test.
* patch 8.2.0191: cannot put a terminal in a popup windowv8.2.0191Bram Moolenaar2020-02-011-1/+2
| | | | | | Problem: Cannot put a terminal in a popup window. Solution: Allow opening a terminal in a popup window. It will always have keyboard focus until closed.
* patch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabledv8.1.2248Bram Moolenaar2019-11-031-1/+1
| | | | | | | Problem: CTRL-W dot does not work in a terminal when modifyOtherKeys is enabled. Solution: Use the modifier when needed. Pass the modifier along with the key to avoid mistakes.
* patch 8.1.2080: the terminal API is limited and can't be disabledv8.1.2080Bram Moolenaar2019-09-261-0/+1
| | | | | | Problem: The terminal API is limited and can't be disabled. Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi, closes #2907)
* patch 8.1.2021: some global functions can be local to the filev8.1.2021Bram Moolenaar2019-09-101-1/+0
| | | | | Problem: Some global functions can be local to the file. Solution: Add "static". (Yegappan Lakshmanan, closes #4917)
* patch 8.1.1182: some function prototypes are outdatedv8.1.1182Bram Moolenaar2019-04-171-1/+1
| | | | | Problem: Some function prototypes are outdated. Solution: Update function prototypes. (Ken Takata, closes #4267)
* patch 8.1.0870: Vim doesn't use the new ConPTY support in Windows 10v8.1.0870Bram Moolenaar2019-02-031-0/+2
| | | | | Problem: Vim doesn't use the new ConPTY support in Windows 10. Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes #3794)
* patch 8.1.0845: having job_status() free the job causes problemsv8.1.0845Bram Moolenaar2019-01-291-0/+1
| | | | | | | Problem: Having job_status() free the job causes problems. Solution: Do not actually free the job or terminal yet, put it in a list and free it a bit later. Do not use a terminal after checking the job status. (closes #3873)
* patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar2019-01-201-1/+0
| | | | | | Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
* patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"v8.1.0087Bram Moolenaar2018-06-191-0/+1
| | | | | Problem: v:shell_error is always zero when using terminal for "!cmd". Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994)
* patch 8.0.1815: crash with terminal window and with 'lazyredraw' setv8.0.1815Bram Moolenaar2018-05-111-0/+1
| | | | | | Problem: Still a crash with terminal window and with 'lazyredraw' set. (Antoine) Solution: Do not wipe out the buffer when updating the screen.
* patch 8.0.1810: buffer of a terminal only updated in Terminal-Normal modev8.0.1810Bram Moolenaar2018-05-101-0/+1
| | | | | | Problem: Buffer of a terminal only updated in Terminal-Normal mode. Solution: Copy the terminal window content to the buffer when in Terminal-Job mode.
* patch 8.0.1797: terminal window is redrawn too oftenv8.0.1797Bram Moolenaar2018-05-061-2/+3
| | | | | | 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.
* patch 8.0.1711: term_setsize() is not implemented yetv8.0.1711Bram Moolenaar2018-04-141-1/+2
| | | | | Problem: Term_setsize() is not implemented yet. Solution: Implement it.
* patch 8.0.1685: can't set ANSI colors of a terminal windowv8.0.1685Bram Moolenaar2018-04-101-0/+2
| | | | | | 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)
* patch 8.0.1609: shell commands in the GUI use a dumb terminalv8.0.1609Bram Moolenaar2018-03-161-0/+2
| | | | | | 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.
* patch 8.0.1598: cannot select text in a terminal with the mousev8.0.1598Bram Moolenaar2018-03-111-0/+1
| | | | | | | 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.
* patch 8.0.1593: :qall never exits with an active terminal windowv8.0.1593Bram Moolenaar2018-03-101-1/+3
| | | | | Problem: :qall never exits with an active terminal window. Solution: Add a way to kill a job in a terminal window.
* patch 8.0.1592: terminal windows in a session are not properly restoredv8.0.1592Bram Moolenaar2018-03-091-0/+3
| | | | | | Problem: Terminal windows in a session are not properly restored. Solution: Add "terminal" in 'sessionoptions'. When possible restore the command running in a terminal.
* patch 8.0.1523: cannot write and read terminal screendumpsv8.0.1523Bram Moolenaar2018-02-181-0/+4
| | | | | | Problem: Cannot write and read terminal screendumps. Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). Also add assert_equalfile().
* patch 8.0.1362: terminal window colors wrong when using Terminal highlightingv8.0.1362Bram Moolenaar2017-12-011-0/+1
| | | | | | 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)
* patch 8.0.1108: cannot specify mappings for the terminal windowv8.0.1108Bram Moolenaar2017-09-141-2/+2
| | | | | | Problem: Cannot specify mappings for the terminal window. Solution: Add the :tmap command and associated code. (Jacob Askeland, closes #2073)
* patch 8.0.1076: term_start() does not take callbacksv8.0.1076Bram Moolenaar2017-09-081-1/+2
| | | | | | | | 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.
* patch 8.0.1034: sending buffer lines to terminal doesn't work on MS-Windowsv8.0.1034Bram Moolenaar2017-09-021-0/+1
| | | | | | 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.
* patch 8.0.0952: has('terminal') does not check existence of dll filev8.0.0952Bram Moolenaar2017-08-171-0/+1
| | | | | Problem: MS-Windows: has('terminal') does not check existence of dll file. Solution: Check if the winpty dll file can be loaded. (Ken Takata)
* patch 8.0.0921: terminal window cursor shape not supported in the GUIv8.0.0921Bram Moolenaar2017-08-121-0/+2
| | | | | Problem: Terminal window cursor shape not supported in the GUI. Solution: Use the terminal window cursor shape in the GUI.
* patch 8.0.0898: can't use the alternate screen in a terminal windowv8.0.0898Bram Moolenaar2017-08-111-0/+1
| | | | | | Problem: Can't use the alternate screen in a terminal window. Solution: Initialze the alternate screen. (Yasuhiro Matsumoto, closes #1957) Add term_getaltscreen().
* patch 8.0.0893: cannot get the scroll count of a terminal windowv8.0.0893Bram Moolenaar2017-08-081-0/+1
| | | | | Problem: Cannot get the scroll count of a terminal window. Solution: Add term_getscrolled().
* patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistentv8.0.0877Bram Moolenaar2017-08-061-3/+3
| | | | | Problem: Using CTRL-\ CTRL-N in terminal is inconsistent. Solution: Stay in Normal mode.
* patch 8.0.0873: in terminal cannot use CTRL-\ CTRL-N to start Visual modev8.0.0873Bram Moolenaar2017-08-051-1/+1
| | | | | | 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.
* patch 8.0.0872: no mouse scroll with a terminal windowv8.0.0872Bram Moolenaar2017-08-051-0/+1
| | | | | | | | 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.
* patch 8.0.0846: cannot get the name of the pty of a jobv8.0.0846Bram Moolenaar2017-08-031-0/+1
| | | | | | 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.
* patch 8.0.0838: buffer hangs around whem terminal window is closedv8.0.0838Bram Moolenaar2017-08-011-0/+1
| | | | | | 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.
* patch 8.0.0821: cannot get the title and status of a terminal windowv8.0.0821Bram Moolenaar2017-07-301-0/+2
| | | | | Problem: Cannot get the title and status of a terminal window. Solution: Implement term_gettitle() and term_getstatus().
* patch 8.0.0818: cannot get the cursor position of a terminalv8.0.0818Bram Moolenaar2017-07-301-0/+1
| | | | | Problem: Cannot get the cursor position of a terminal. Solution: Add term_getcursor().
* patch 8.0.0813: cannot use a terminal window while the job is runningv8.0.0813Bram Moolenaar2017-07-301-1/+5
| | | | | | Problem: Cannot use Vim commands in a terminal window while the job is running. Solution: Implement Terminal Normal mode.
* patch 8.0.0804: terminal window functions not yet implementedv8.0.0803Bram Moolenaar2017-07-291-0/+10
| | | | | | Problem: Terminal window functions not yet implemented. Solution: Implement several functions. Add a first test. (Yasuhiro Matsumoto, closes #1871)
* patch 8.0.0798: no highlighting in a terminal window with a finished jobv8.0.0798Bram Moolenaar2017-07-281-0/+3
| | | | | Problem: No highlighting in a terminal window with a finished job. Solution: Highlight the text.
* patch 8.0.0797: finished job in terminal window is not handledv8.0.0797Bram Moolenaar2017-07-281-4/+4
| | | | | | Problem: Finished job in terminal window is not handled. Solution: Add the scrollback buffer. Use it to fill the buffer when the job has ended.
* patch 8.0.0784: job of terminal may be garbage collectedv8.0.0784Bram Moolenaar2017-07-271-0/+1
| | | | | Problem: Job of terminal may be garbage collected. Solution: Set copyID on job in terminal. (Ozaki Kiichi)
* patch 8.0.0768: terminal window status shows "[Scratch]"v8.0.0768Bram Moolenaar2017-07-241-1/+1
| | | | | | | Problem: Terminal window status shows "[Scratch]". Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto) Store the terminal title that vterm sends and use it. Update the special buffer name. (closes #1869)
* patch 8.0.0761: options not set properly for a terminal bufferv8.0.0761Bram Moolenaar2017-07-231-1/+3
| | | | | | | | Problem: Options of a buffer for a terminal window are not set properly. Solution: Add "terminal" value for 'buftype'. Make 'buftype' and 'bufhidden' not depend on the quickfix feature. Also set the buffer name and show "running" or "finished" in the window title.