Bram Moolenaar
6bb18a878c
patch 8.0.0938: scrolling in terminal window is inefficient
...
Problem: Scrolling in terminal window is inefficient.
Solution: Use win_del_lines().
2017-08-13 22:14:17 +02:00
Bram Moolenaar
4f44b88684
patch 8.0.0932: terminal may not use right characters for BS and Enter
...
Problem: Terminal may not use right characters for BS and Enter.
Solution: Get the characters from the tty.
2017-08-13 20:06:18 +02:00
Bram Moolenaar
2438ae3d67
patch 8.0.0929: :term without argument does not work
...
Problem: :term without argument does not work.
Solution: Use shell for empty command. (Yasuhiro Matsumoto, closes #1970 )
2017-08-13 17:38:11 +02:00
Bram Moolenaar
dcaa61384c
patch 8.0.0928: MS-Windows: passing arglist to job has escaping problems
...
Problem: MS-Windows: passing arglist to job has escaping problems.
Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954 )
2017-08-13 17:13:09 +02:00
Bram Moolenaar
274a52fd58
patch 8.0.0927: if a terminal job sends a blank title "running" is not shown
...
Problem: If a terminal job sends a blank title "running" is not shown.
Solution: When the title is blank make it empty.
2017-08-13 16:09:31 +02:00
Bram Moolenaar
e0f314aa8d
patch 8.0.0926: when job in terminal window ends topline is wrong
...
Problem: When job in terminal window ends topline may be wrong.
Solution: When the job ends adjust topline so that the active part of the
terminal is displayed.
2017-08-13 16:01:31 +02:00
Bram Moolenaar
5cc1f2c477
patch 8.0.0924: terminal window not updated after using term_sendkeys()
...
Problem: Terminal window not updated after using term_sendkeys().
Solution: Call redraw_after_callback().
2017-08-13 15:16:53 +02:00
Bram Moolenaar
679653e59c
patch 8.0.0923: crash in GUI when terminal job exits
...
Problem: Crash in GUI when terminal job exits. (Kazunobu Kuriyama)
Solution: reset in_terminal_loop when a terminal is freed.
2017-08-13 14:13:19 +02:00
Bram Moolenaar
3d9bdfebf1
patch 8.0.0921: terminal window cursor shape not supported in the GUI
...
Problem: Terminal window cursor shape not supported in the GUI.
Solution: Use the terminal window cursor shape in the GUI.
2017-08-12 22:55:58 +02:00
Bram Moolenaar
893029ab20
patch 8.0.0920: cursor wrong after switching altscreen in terminal
...
Problem: The cursor shape is wrong after switch back from an alternate
screen in a terminal window. (arius Gedminas)
Solution: Change bitfield to unsigned. Set flag that cursor shape was set.
2017-08-12 21:15:34 +02:00
Bram Moolenaar
3cd43ccccb
patch 8.0.0918: cannot get terminal window cursor shape or attributes
...
Problem: Cannot get terminal window cursor shape or attributes.
Solution: Support cursor shape, attributes and color.
2017-08-12 19:51:41 +02:00
Bram Moolenaar
589b1109c5
patch 8.0.0917: MS-Windows:CTRL-C handling in terminal window is wrong
...
Problem: MS-Windows:CTRL-C handling in terminal window is wrong
Solution: Pass CTRL-C as a key. Turn CTRL-BREAK into a key stroke. (Yasuhiro
Matsumoto, closes #1965 )
2017-08-12 16:39:05 +02:00
Bram Moolenaar
37c4583594
patch 8.0.0916: cannot specify properties of window for terminal open
...
Problem: Cannot specify properties of window for when opening a window for
a finished terminal job.
Solution: Add "term_opencmd".
2017-08-12 16:01:04 +02:00
Bram Moolenaar
9698ad7201
patch 8.0.0913: MS-Windows: CTRL-C kills shell in terminal window
...
Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the
command running in the shell.
Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the
job. (partly by Yasuhiro Matsumoto, closes #1962 )
2017-08-12 14:52:15 +02:00
Bram Moolenaar
8cad930a25
patch 8.0.0912: cannot run a job in a hidden terminal
...
Problem: Cannot run a job in a hidden terminal.
Solution: Add option "hidden" and ++hidden.
2017-08-12 14:32:32 +02:00
Bram Moolenaar
da43b61ddd
patch 8.0.0910: cannot create a terminal in the current window
...
Problem: Cannot create a terminal in the current window.
Solution: Add option "curwin" and ++curwin.
2017-08-11 22:27:50 +02:00
Bram Moolenaar
08d384ff3a
patch 8.0.0908: cannot set terminal size with options
...
Problem: Cannot set terminal size with options.
Solution: Add "term_rows", "term_cols" and "vertical".
2017-08-11 21:51:23 +02:00
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