Bram Moolenaar
05aafed54b
patch 8.0.0902: cannot specify directory or environment for a job
...
Problem: Cannot specify directory or environment for a job.
Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro
Matsumoto, closes #1160 )
2017-08-11 19:12:11 +02:00
Bram Moolenaar
2d33e90f81
patch 8.0.0899: function name mch_stop_job() is confusing
...
Problem: Function name mch_stop_job() is confusing.
Solution: Rename to mch_signal_job().
2017-08-11 16:31:54 +02:00
Bram Moolenaar
e41e3b41f9
patch 8.0.0898: can't use the alternate screen in a terminal window
...
Problem: Can't use the alternate screen in a terminal window.
Solution: Initialze the alternate screen. (Yasuhiro Matsumoto, closes
#1957 ) Add term_getaltscreen().
2017-08-11 16:24:50 +02:00
Bram Moolenaar
dd693ce28b
patch 8.0.0896: cannot close a terminal window when the job ends
...
Problem: Cannot automaticlaly close a terminal window when the job ends.
Solution: Add the ++close argument to :term. Add the term_finish option to
term_start(). (Yasuhiro Matsumoto, closes #1950 ) Also add
++open.
2017-08-10 23:15:19 +02:00
Bram Moolenaar
82b9ca05f4
patch 8.0.0893: cannot get the scroll count of a terminal window
...
Problem: Cannot get the scroll count of a terminal window.
Solution: Add term_getscrolled().
2017-08-08 23:06:46 +02:00
Bram Moolenaar
292d569935
patch 8.0.0892: when opening a terminal the pty size doesn't always match
...
Problem: When opening a terminal the pty size doesn't always match.
Solution: Update the pty size after opening the terminal. (Ken Takata)
2017-08-08 21:52:22 +02:00
Bram Moolenaar
7fadbf8325
patch 8.0.0891: uninitialized memory use with empty line in terminal
...
Problem: Uninitialized memory use with empty line in terminal.
Solution: Initialize growarray earlier. (Yasuhiro Matsumoto, closes #1949 )
2017-08-07 22:08:05 +02:00
Bram Moolenaar
e20b3eba73
patch 8.0.0889: gcc gives warnings for uninitialized variables
...
Problem: Gcc gives warnings for uninitialized variables. (Tony Mechelynck)
Solution: Initialize variables even though they are not used.
2017-08-07 21:26:29 +02:00
Bram Moolenaar
f8d57a5049
patch 8.0.0886: crash when using ":term ls"
...
Problem: Crash when using ":term ls".
Solution: Fix line number computation. Add a test for this.
2017-08-07 20:38:42 +02:00
Bram Moolenaar
33a43bee9c
patch 8.0.0885: terminal window scrollback is stored inefficiently
...
Problem: Terminal window scrollback is stored inefficiently.
Solution: Store the text in the Vim buffer.
2017-08-06 21:36:22 +02:00
Bram Moolenaar
f3402b1b7f
patch 8.0.0884: can't specify the wait time for term_wait()
...
Problem: Can't specify the wait time for term_wait().
Solution: Add an otional second argument.
2017-08-06 19:07:08 +02:00
Bram Moolenaar
6d8197485d
patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistent
...
Problem: Using CTRL-\ CTRL-N in terminal is inconsistent.
Solution: Stay in Normal mode.
2017-08-06 14:57:49 +02:00
Bram Moolenaar
aaa8a35fbd
patch 8.0.0873: in terminal cannot use CTRL-\ CTRL-N to start Visual 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.
2017-08-05 20:17:00 +02:00
Bram Moolenaar
98fd66d311
patch 8.0.0872: no mouse scroll with a terminal window
...
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.
2017-08-05 19:34:47 +02:00
Bram Moolenaar
b9279e73ae
patch 8.0.0870: mouse escape codes sent to terminal unintentionally
...
Problem: Mouse escape codes sent to terminal unintentionally.
Solution: Fix libvterm to send mouse codes only when enabled.
2017-08-05 18:02:21 +02:00
Bram Moolenaar
a9f028103f
patch 8.0.0869: job output is sometimes not displayed in a terminal
...
Problem: Job output is sometimes not displayed in a terminal.
Solution: Flush output before closing the channel.
2017-08-05 17:40:38 +02:00
Bram Moolenaar
cfcc022c54
patch 8.0.0868: cannot specify the terminal size on the command line
...
Problem: Cannot specify the terminal size on the command line.
Solution: Use the address range for the terminal size. (Yasuhiro Matsumoto,
closes #1941 )
2017-08-05 17:13:48 +02:00
Bram Moolenaar
d53109886b
patch 8.0.0866: Solaris also doesn't have MIN and MAX
...
Problem: Solaris also doesn't have MIN and MAX.
Solution: Define MIN and MAX whenever they are not defined. (Ozaki Kiichi,
closes #1939 )
2017-08-05 15:16:32 +02:00
Bram Moolenaar
78712a7733
patch 8.0.0864: cannot specify the name of a terminal
...
Problem: Cannot specify the name of a terminal.
Solution: Add the "term_name" option. (Yasuhiro Matsumoto, closes #1936 )
2017-08-05 14:50:12 +02:00
Bram Moolenaar
69198197fd
patch 8.0.0863: a remote command does not work in the terminal window
...
Problem: A remote command starting with CTRL-\ CTRL-N does not work in the
terminal window. (Christian J. Robinson)
Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command.
2017-08-05 14:10:48 +02:00
Bram Moolenaar
8e5eece8c5
patch 8.0.0859: NULL pointer access when term_free_vterm called twice
...
Problem: NULL pointer access when term_free_vterm called twice.
Solution: Return when tl_vterm is NULL. (Yasuhiro Matsumoto, closes #1934 )
2017-08-04 20:29:53 +02:00
Bram Moolenaar
eb44a68b42
patch 8.0.0858: can exit while a terminal is still running a job
...
Problem: Can exit while a terminal is still running a job.
Solution: Consider a buffer with a running job like a changed file.
2017-08-03 22:44:55 +02:00
Bram Moolenaar
102dc7f891
patch 8.0.0856: MS-Windows: terminal job doesn't take options
...
Problem: MS-Windows: terminal job doesn't take options.
Solution: Call job_set_options(). (Yasuhiro Matsumoto)
2017-08-03 20:59:29 +02:00
Bram Moolenaar
5be8dd087f
patch 8.0.0855: MS-Windows: can't get tty name of terminal
...
Problem: MS-Windows: can't get tty name of terminal.
Solution: Use the winpty process number. (Yasuhiro Matsumoto, closes #1929 )
2017-08-03 20:52:19 +02:00
Bram Moolenaar
e9c21aed62
patch 8.0.0854: no redraw after terminal was closed
...
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.
2017-08-03 20:44:48 +02:00
Bram Moolenaar
b4a6721a28
patch 8.0.0853: crash when running terminal with unknown command
...
Problem: Crash when running terminal with unknown command.
Solution: Check "term" not to be NULL. (Yasuhiro Matsumoto, closes #1932 )
2017-08-03 19:22:36 +02:00
Bram Moolenaar
3c3a80dc59
patch 8.0.0849: crash when job exit callback wipes the terminal
...
Problem: Crash when job exit callback wipes the terminal.
Solution: Check for b_term to be NULL. (Yasuhiro Matsumoto, closes #1922 )
Implement options for term_start() to be able to test.
Make term_wait() more reliable.
2017-08-03 17:06:45 +02:00
Bram Moolenaar
2f3a90a3bd
patch 8.0.0848: using multiple ch_log functions is clumsy
...
Problem: Using multiple ch_log functions is clumsy.
Solution: Use variable arguments. (Ozaki Kiichi, closes #1919 )
2017-08-03 14:49:29 +02:00
Bram Moolenaar
7c9aec4ac8
patch 8.0.0846: cannot get the name of the pty of a job
...
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.
2017-08-03 13:51:25 +02:00
Bram Moolenaar
d8dc179937
patch 8.0.0845: MS-Windows: missing semicolon in terminal code
...
Problem: MS-Windows: missing semicolon in terminal code.
Solution: Add it. (Naruhiko Nishino, closes #1923 )
2017-08-03 11:55:21 +02:00
Bram Moolenaar
66cd19fef1
patch 8.0.0843: MS-Windows: compiler warning for signed/unsigned
...
Problem: MS-Windows: compiler warning for signed/unsigned.
Solution: Add type cast. (Yasuhiro Matsumoto, closes #1912 )
2017-08-02 23:13:27 +02:00
Bram Moolenaar
5c838a3e71
patch 8.0.0841: term_getline() may cause a crash
...
Problem: term_getline() may cause a crash.
Solution: Check that the row is valid. (Hirohito Higashi)
2017-08-02 22:10:34 +02:00
Bram Moolenaar
fae4283542
patch 8.0.0839: cannot kill a job in a terminal with CTRL-C
...
Problem: Cannot kill a job in a terminal with CTRL-C.
Solution: Set the controlling tty and send SIGINT. (closes #1910 )
2017-08-01 22:24:26 +02:00
Bram Moolenaar
94053a5125
patch 8.0.0838: buffer hangs around whem terminal window is closed
...
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.
2017-08-01 21:44:33 +02:00
Bram Moolenaar
20e6cd07ba
patch 8.0.0836: can abandon a terminal buffer after making a change
...
Problem: When a terminal buffer is changed it can still be accidentally
abandoned.
Solution: When making a change reset the 'buftype' option.
2017-08-01 20:25:22 +02:00
Bram Moolenaar
c2ce52c011
patch 8.0.0832: terminal function arguments are not consistent
...
Problem: Terminal function arguments are not consistent.
Solution: Use one-based instead of zero-based rows and cols. Use "." for
the current row.
2017-08-01 18:35:38 +02:00
Bram Moolenaar
12d853fae1
patch 8.0.0831: with 8 colors the bold attribute is not set properly
...
Problem: With 8 colors the bold attribute is not set properly.
Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901 )
2017-08-01 18:04:04 +02:00
Bram Moolenaar
392d1bfa5e
patch 8.0.0824: in Terminal mode the cursor and screen gets redrawn
...
Problem: In Terminal mode the cursor and screen gets redrawn when the job
produces output.
Solution: Check for tl_terminal_mode. (partly by Yasuhiro Matsumoto, closes
#1904 )
2017-07-31 21:18:58 +02:00
Bram Moolenaar
c9456cec0c
patch 8.0.0823: cannot paste text into a terminal window
...
Problem: Cannot paste text into a terminal window.
Solution: Make CTRL-W " work.
2017-07-30 21:46:04 +02:00
Bram Moolenaar
b000e328ef
patch 8.0.0821: cannot get the title and status of a terminal window
...
Problem: Cannot get the title and status of a terminal window.
Solution: Implement term_gettitle() and term_getstatus().
2017-07-30 19:38:21 +02:00
Bram Moolenaar
12d93ee26d
patch 8.0.0820: GUI: cursor in terminal window lags behind
...
Problem: GUI: cursor in terminal window lags behind.
Solution: call gui_update_cursor() under different conditions. (Ozaki
Kiichi, closes #1893 )
2017-07-30 19:02:02 +02:00
Bram Moolenaar
0e23e9c5e7
patch 8.0.0819: cursor not positioned in terminal window
...
Problem: After changing current window the cursor position in the terminal
window is not updated.
Solution: Set w_wrow, w_wcol and w_valid.
2017-07-30 18:47:19 +02:00
Bram Moolenaar
97870002d3
patch 8.0.0818: cannot get the cursor position of a terminal
...
Problem: Cannot get the cursor position of a terminal.
Solution: Add term_getcursor().
2017-07-30 18:28:38 +02:00
Bram Moolenaar
22aad2f880
patch 8.0.0817: cannot get the terminal line at the cursor
...
Problem: Cannot get the line of a terminal window at the cursor.
Solution: Make the row argunt optionsl. (Yasuhiro Matsumoto, closes #1898 )
2017-07-30 18:19:46 +02:00
Bram Moolenaar
f144a3fb73
patch 8.0.0816: crash when using invalid buffer number
...
Problem: Crash when using invalid buffer number.
Solution: Check for NULL buffer. (Yasuhiro Matsumoto, closes #1899 )
2017-07-30 18:02:12 +02:00
Bram Moolenaar
43c007ff22
patch 8.0.0815: terminal window not correctly updated
...
Problem: Terminal window not correctly updated when 'statusline' invokes
":sleep". (NIkolay Pavlov)
Solution: Clear got_int. Repeat redrawing when needed.
2017-07-30 17:45:37 +02:00
Bram Moolenaar
423802d1a2
patch 8.0.0813: cannot use a terminal window while the job is running
...
Problem: Cannot use Vim commands in a terminal window while the job is
running.
Solution: Implement Terminal Normal mode.
2017-07-30 16:52:24 +02:00
Bram Moolenaar
6e1ef28057
patch 8.0.0807: terminal window can't handle mouse buttons
...
Problem: Terminal window can't handle mouse buttons. (Hirohito Higashi)
Solution: Implement mouse buttons and many other keys. Ignore the ones that
are not implemented.
2017-07-29 22:23:40 +02:00
Bram Moolenaar
c6df10e5d3
patch 8.0.0804: terminal window functions not yet implemented
...
Problem: Terminal window functions not yet implemented.
Solution: Implement several functions. Add a first test. (Yasuhiro
Matsumoto, closes #1871 )
2017-07-29 20:15:08 +02:00
Bram Moolenaar
70229f951f
patch 8.0.0802: last line of terminal window has no color
...
Problem: After a job exits the last line in the terminal window does not
get color attributes.
Solution: Fix off-by-one error.
2017-07-29 16:01:53 +02:00