| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Termwinscroll test is flaky on FreeBSD.
Solution: Add to list of flaky tests. Rename function.
|
|
|
|
|
| |
Problem: Tests fail on Cirrus CI for FreeBSD.
Solution: Fix a test and skip some. (Christian Brabandt, closes #5281)
|
|
|
|
|
|
| |
Problem: Terminal test may fail on MS-Windows.
Solution: Catch the situation that "term dir" fails with a CreateProcess
error.
|
|
|
|
|
| |
Problem: Test for ":term ++shell" fails on MS-Windows.
Solution: Accept failure of "dir" executable.
|
|
|
|
|
| |
Problem: ":term ++shell" does not work on MS-Windows.
Solution: Add MS-Windows support.
|
|
|
|
|
| |
Problem: ":term command" may not work without a shell.
Solution: Add the ++shell option to :term. (closes #3340)
|
|
|
|
|
| |
Problem: MS-Windows: testing external commands can be improved.
Solution: Adjust tests, remove duplicate test. (closes #4928)
|
|
|
|
|
| |
Problem: No autocommand for open window with terminal.
Solution: Add TerminalWinOpen. (Christian Brabandt)
|
|
|
|
|
|
|
| |
Problem: Vim does not exit when closing a terminal window and it is the
last window.
Solution: Exit Vim if the closed terminal window is the last one.
(closes #4539)
|
|
|
|
|
| |
Problem: Terminal attributes missing in Terminal-normal mode.
Solution: Use "syntax_attr".
|
|
|
|
|
| |
Problem: In a terminal window 'cursorlineopt' does not work properly.
Solution: Check the 'cursorlineopt' value. (closes #5055)
|
|
|
|
|
| |
Problem: Some tests fail when run as root.
Solution: Add CheckNotRoot and use it. (James McCoy, closes #5020)
|
|
|
|
|
|
| |
Problem: The terminal API is limited and can't be disabled.
Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi,
closes #2907)
|
|
|
|
|
| |
Problem: No tests for state().
Solution: Add tests. Clean up some feature checks. Make "a" flag work.
|
|
|
|
|
|
| |
Problem: Some tests fail when +balloon_eval_term is missing but
_balloon_eval is present. (Dominique Pelle)
Solution: Check the right feature in the test. (closes #4962)
|
|
|
|
|
|
| |
Problem: Tests fail when build with normal features and terminal.
(Dominique Pelle)
Solution: Disable tests that won't work. (closes #4932)
|
|
|
|
|
| |
Problem: Terminal altscreen test now fails on MS-Windows.
Solution: Skip the test on MS-Windows
|
|
|
|
|
| |
Problem: Terminal altscreen test still fails sometimes.
Solution: Write the escape sequence in a file.
|
|
|
|
|
| |
Problem: Terminal altscreen test fails sometimes.
Solution: Use WaitFor().
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make terminal functions usable as a method. Fix term_getattr().
|
|
|
|
|
| |
Problem: More functions can be used as a method.
Solution: Allow more functions to be used as a method.
|
|
|
|
|
|
| |
Problem: 'langmap' is not used for CTRL-W command in terminal.
Solution: Push the command in the typeahead buffer instead of the stuff
buffer. (closes #4814)
|
|
|
|
|
| |
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
|
|
|
|
|
|
| |
Problem: Terminal test fails when term_getansicolors() is missing.
Diff test fails without +rightleft. (Dominique Pelle)
Solution: Check if term_getansicolors() is supported. (closes #4597)
|
|
|
|
|
| |
Problem: Various small problems.
Solution: Various small improvements.
|
|
|
|
|
| |
Problem: Shared functions for testing are disorganised.
Solution: Group finctions in script files. (Ozaki Kiichi, closes #4573)
|
|
|
|
|
|
|
| |
Problem: Some balloon tests don't run when they can.
Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
closes #4538) Change the feature check into a command for
consistency.
|
|
|
|
|
| |
Problem: Tests are silently skipped.
Solution: Throw an exception for skipped tests in more places.
|
|
|
|
|
| |
Problem: Skipped tests are not properly listed.
Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
|
|
|
|
|
|
|
|
| |
Problem: Tests do not run or are not reliable on some systems.
Solution: Use "findstr" instead of "grep" on MS-Windows. Clear
PROMPT_COMMAND in the terminal test. Delete temp file. Wait for
output after executing a debug command. (Yegappan Lakshmanan,
closes #4479)
|
|
|
|
|
| |
Problem: Cannot reuse a buffer when loading a screen dump.
Solution: Add the "bufnr" option.
|
|
|
|
|
| |
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)
|
|
|
|
|
|
|
| |
Problem: Using bold attribute in terminal changes the color. (Jason
Franklin)
Solution: Don't set the "bold-highbright" flag in vterm unless the terminal
supports less than 16 colors.
|
|
|
|
|
| |
Problem: Cursor properties were not fully tested.
Solution: Add a test. (Dominique Pelle, closes #4256)
|
|
|
|
|
|
| |
Problem: Terminal ANSI color test does not cover all colors.
Solution: Use the color number, the name is not always resulting in an ANSI
color when t_Co is 256.
|
|
|
|
|
| |
Problem: Gettitle test can still fail when another Vim is running.
Solution: Accept any server name number. (Dominique Pelle, closes #4252)
|
|
|
|
|
|
| |
Problem: Gettitle test is failing when server name differs. (Kenta Sato)
Solution: Accept "VIM1" when 'autoservername' is used. (Dominique Pelle,
closes #4250, closes #4249)
|
|
|
|
|
|
| |
Problem: Incorrect coverage information; typo in color name.
Solution: Fix the typo. Set environment variables to have a nested Vim
write the coverage info in another directory.
|
|
|
|
|
|
| |
Problem: Unreachable code.
Solution: Remove condition that will never be true. Add tests for all ANSI
colors.
|
|
|
|
|
|
| |
Problem: Terminal winpos test fails with very large terminal. (Dominique
Pelle)
Solution: Compute the expected size more accurately. (closes #4228)
|
|
|
|
|
| |
Problem: getwinpos() test fails on MS-Windows.
Solution: Don't try running this test.
|
|
|
|
|
| |
Problem: getwinpos() does not work in the MS-Windows console.
Solution: Implement getwinpos().
|
|
|
|
|
| |
Problem: getwinpos() test does not work on MS-Windows.
Solution: Skip the test.
|
|
|
|
|
| |
Problem: getwinpos() doesn't work in terminal on MS-Windows console.
Solution: Adjust #ifdefs. Disable test for MS-Windows console.
|
|
|
|
|
|
| |
Problem: Libvterm does not handle the window position report.
Solution: Let libvterm call the fallback CSI handler when not handling CSI
sequence. Handle the window position report in Vim.
|
|
|
|
|
|
| |
Problem: Test for term_gettitle() was disabled.
Solution: Enable the test and bail out only when it doesn't work. (Dominique
Pelle, closes #3776)
|
|
|
|
|
| |
Problem: Not all ways to switch terminal mode are tested.
Solution: Add more test cases.
|
|
|
|
|
| |
Problem: Pasting in terminal insufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes #4040)
|
|
|
|
|
| |
Problem: Cannot switch from terminal window to previous tabpage.
Solution: Make CTRL-W gT move to previous tabpage.
|
|
|
|
|
| |
Problem: Cannot switch from terminal window to next tabpage.
Solution: Make CTRL-W gt move to next tabpage.
|