summaryrefslogtreecommitdiff
path: root/src/testdir/test_termcodes.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3251: listing builtin_gui as an available terminal is confusingv8.2.3251Bram Moolenaar2021-07-301-0/+12
| | | | | | Problem: Listing builtin_gui as an available terminal is confusing. Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669, closes #8661)
* patch 8.2.2643: various code not covered by testsv8.2.2643Bram Moolenaar2021-03-221-0/+34
| | | | | Problem: Various code not covered by tests. Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
* patch 8.2.2428: FocusGained does not work when 'ttymouse' is emptyv8.2.2428Bram Moolenaar2021-01-301-1/+29
| | | | | | Problem: FocusGained does not work when 'ttymouse' is empty. Solution: Don't use the short mouse code if there is a longer matching code. (closes #7755) Add a test.
* patch 8.2.2415: no way to check for the cmdwin featurev8.2.2415Bram Moolenaar2021-01-261-0/+2
| | | | | | | Problem: No way to check for the cmdwin feature, cmdline_hist is now always enabled. Solution: Add has('cmdwin') support. Skip arglist test on Windows temporarily.
* patch 8.2.2249: termcodes test is flaky when used over sshv8.2.2249Bram Moolenaar2020-12-301-1/+4
| | | | | | Problem: Termcodes test is flaky when used over ssh with X forwarding. Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576, closes #7563)
* patch 8.2.2084: CTRL-V U doesn't work to enter a Unicode characterv8.2.2084Bram Moolenaar2020-12-031-0/+10
| | | | | | Problem: CTRL-V U doesn't work to enter a Unicode character when modifyOtherKeys is effective. (Ken Takata) Solution: Add a flag to get_literal() for the shift key. (closes #7413)
* patch 8.2.2061: Vim9: E1030 error when using empty string for term_sendkeys()v8.2.2061Bram Moolenaar2020-11-271-8/+8
| | | | | | Problem: Vim9: E1030 error when using empty string for term_sendkeys(). Solution: Don't check for an invalid type unless the terminal can't be found. (closes #7382)
* patch 8.2.1930: wrong input if removing shift results in special key codev8.2.1930Bram Moolenaar2020-10-311-0/+17
| | | | | Problem: Wrong input if removing shift results in special key code. Solution: Handle special key codes. (closes #7189)
* patch 8.2.1811: mapping Ctrl-key does not work for '{', '}' and '|'v8.2.1811Bram Moolenaar2020-10-071-0/+18
| | | | | Problem: Mapping Ctrl-key does not work for '{', '}' and '|'. Solution: Remove the shift modifier. (closes #6457)
* patch 8.2.1809: mapping some keys with Ctrl does not work properlyv8.2.1809Bram Moolenaar2020-10-071-0/+18
| | | | | Problem: Mapping some keys with Ctrl does not work properly. Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
* patch 8.2.1752: GTK GUI: cannot map alt-? with <A-?>v8.2.1752Bram Moolenaar2020-09-271-0/+14
| | | | | | Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat) Solution: Adjust the characters for which the shift modifier is removed. (closes #7016) Make Motif and Win32 use the same function as GTK.
* patch 8.2.1498: on slow systems tests can be flakyv8.2.1498Bram Moolenaar2020-08-201-2/+2
| | | | | | Problem: On slow systems tests can be flaky. Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan, closes #6756)
* patch 8.2.1432: various inconsistencies in test filesv8.2.1432Bram Moolenaar2020-08-121-1/+0
| | | | | | | Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
* patch 8.2.1363: test trying to run terminal when it is not supportedv8.2.1363Bram Moolenaar2020-08-041-0/+2
| | | | | Problem: Test trying to run terminal when it is not supported. Solution: Check if Vim can be run in a terminal.
* patch 8.2.1362: last entry of ":set term=xxx" overwritten by error messagev8.2.1362Bram Moolenaar2020-08-041-0/+12
| | | | | | Problem: Last entry of ":set term=xxx" overwritten by error message when 'cmdheight' is two or more. (Tony Mechelynck) Solution: Output extra line breaks.
* patch 8.2.1235: Not all mouse codes covered by testsv8.2.1235Bram Moolenaar2020-07-181-26/+251
| | | | | Problem: Not all mouse codes covered by tests. Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
* patch 8.2.1213: mouse codes not tested sufficientlyv8.2.1213Bram Moolenaar2020-07-141-4/+437
| | | | | Problem: Mouse codes not tested sufficiently. Solution: Add more tests for mouse codes. (closes #6436)
* patch 8.2.1108: mouse left-right scroll is not supported in terminal windowv8.2.1108Bram Moolenaar2020-07-011-2/+24
| | | | | Problem: Mouse left-right scroll is not supported in terminal window. Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
* patch 8.2.0977: t_8u is made empty for the wrong terminalsv8.2.0977Bram Moolenaar2020-06-141-1/+6
| | | | | Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle) Solution: Invert the check for TPR_YES. (closes #6254)
* patch 8.2.0970: terminal properties are not available in Vim scriptv8.2.0970Bram Moolenaar2020-06-131-0/+92
| | | | | Problem: Terminal properties are not available in Vim script. Solution: Add the terminalprops() function.
* patch 8.2.0916: mapping with partly modifyOtherKeys code does not workv8.2.0916Bram Moolenaar2020-06-061-0/+17
| | | | | | Problem: Mapping with partly modifyOtherKeys code does not work. Solution: If there is no mapping with a separate modifier include the modifier in the key and then try mapping again. (closes #6200)
* patch 8.2.0712: various code not fully testedv8.2.0712Bram Moolenaar2020-05-071-0/+26
| | | | | Problem: Various code not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049)
* patch 8.2.0432: a few tests fail in a huge terminalv8.2.0432Bram Moolenaar2020-03-231-9/+13
| | | | | Problem: A few tests fail in a huge terminal. Solution: Make the tests pass. (Dominique Pelle, closes #5829)
* patch 8.2.0425: code for modeless selection not sufficiently testedv8.2.0425Bram Moolenaar2020-03-221-185/+17
| | | | | | Problem: Code for modeless selection not sufficiently tested. Solution: Add tests. Move mouse code functionality to a common script file. (Yegappan Lakshmanan, closes #5821)
* patch 8.2.0385: menu functionality insufficiently testedv8.2.0385Bram Moolenaar2020-03-151-0/+35
| | | | | Problem: Menu functionality insufficiently tested. Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
* patch 8.2.0020: mouse clicks in the command line not testedv8.2.0020Bram Moolenaar2019-12-181-42/+149
| | | | | Problem: Mouse clicks in the command line not tested. Solution: Add tests. (Dominique Pelle, closes #5366)
* patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeysv8.1.2350Bram Moolenaar2019-11-261-0/+45
| | | | | | | Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys. Solution: Convert the Escape sequence back to key as if modifyOtherKeys is not set, and use CTRL-SHIFT-V to get the Escape sequence itself. (closes #5254)
* patch 8.1.2346: CTRL-R CTRL-R doesn't work with modifyOtherKeysv8.1.2346Bram Moolenaar2019-11-261-0/+21
| | | | | | Problem: CTRL-R CTRL-R doesn't work with modifyOtherKeys. Solution: Allow key codes when fetching argument for CTRL-R. (closes #5266) Also fix CTRL-G in Insert mode.
* patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't workv8.1.2333Bram Moolenaar2019-11-211-0/+8
| | | | | Problem: With modifyOtherKeys CTRL-^ doesn't work. Solution: Handle the exception.
* patch 8.1.2306: double and triple clicks are not testedv8.1.2306Bram Moolenaar2019-11-161-11/+88
| | | | | Problem: Double and triple clicks are not tested. Solution: Test mouse clicks to select text. (closes #5226)
* patch 8.1.2174: screen not recognized as supporting "sgr" mouse codesv8.1.2174Bram Moolenaar2019-10-181-4/+90
| | | | | Problem: Screen not recognized as supporting "sgr" mouse codes. Solution: Recognize screen 4.7. (Jordan Christiansen, closes #5042)
* patch 8.1.2169: terminal flags are never resetv8.1.2169Bram Moolenaar2019-10-171-0/+11
| | | | | Problem: Terminal flags are never reset. Solution: Reset the flags when setting 'term'.
* patch 8.1.2150: no test for 'ttymouse' set from xterm version responsev8.1.2150Bram Moolenaar2019-10-141-2/+37
| | | | | Problem: No test for 'ttymouse' set from xterm version response. Solution: Test the three possible values.
* patch 8.1.2148: no test for right click extending Visual areav8.1.2148Bram Moolenaar2019-10-131-1/+86
| | | | | Problem: No test for right click extending Visual area. Solution: Add a test. (Dominique Pelle, closes #5018)
* patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabledv8.1.2145Bram Moolenaar2019-10-131-7/+85
| | | | | | Problem: Cannot map <C-H> when modifyOtherKeys is enabled. Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use only the first one when modifyOtherKeys has been detected.
* patch 8.1.2142: some key mappings do not work with modifyOtherKeysv8.1.2142Bram Moolenaar2019-10-121-0/+39
| | | | | Problem: Some key mappings do not work with modifyOtherKeys. Solution: Remove the Shift modifier if it is already included in the key.
* patch 8.1.2139: the modifyOtherKeys codes are not testedv8.1.2139Bram Moolenaar2019-10-121-0/+64
| | | | | Problem: The modifyOtherKeys codes are not tested. Solution: Add a test case.
* patch 8.1.2137: parsing the termresponse is not testedv8.1.2137Bram Moolenaar2019-10-121-3/+21
| | | | | Problem: Parsing the termresponse is not tested. Solution: Add a first test. (related to #5042)
* patch 8.1.2118: termcodes test fails when $TERM is "dumb"v8.1.2118Bram Moolenaar2019-10-061-1/+5
| | | | | Problem: Termcodes test fails when $TERM is "dumb". Solution: Skip the test. (James McCoy, closes #5019)
* patch 8.1.2106: no tests for dragging the mouse beyond the windowv8.1.2106Bram Moolenaar2019-10-011-2/+89
| | | | | Problem: No tests for dragging the mouse beyond the window. Solution: Add a test. (Dominique Pelle, closes #5004)
* patch 8.1.2011: more functions can be used as methodsv8.1.2011Bram Moolenaar2019-09-081-1/+1
| | | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method. Make the window command test faster.
* patch 8.1.1953: more functions can be used as a methodv8.1.1953Bram Moolenaar2019-08-311-1/+1
| | | | | Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method.
* patch 8.1.1840: Testing: WorkingClipboard() is not accuratev8.1.1840Bram Moolenaar2019-08-121-3/+1
| | | | | Problem: Testing: WorkingClipboard() is not accurate. Solution: Check feature clipboard_working instead.
* patch 8.1.1826: tests use hand coded feature and option checksv8.1.1826Bram Moolenaar2019-08-071-6/+3
| | | | | Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests.
* patch 8.1.1544: some balloon tests don't run when they canv8.1.1544Bram Moolenaar2019-06-151-2/+2
| | | | | | | 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.
* patch 8.1.1524: tests are silently skippedv8.1.1524Bram Moolenaar2019-06-131-2/+5
| | | | | Problem: Tests are silently skipped. Solution: Throw an exception for skipped tests in more places.
* patch 8.1.1474: 'ttybuiltin' is not testedv8.1.1474Bram Moolenaar2019-06-061-0/+20
| | | | | Problem: 'ttybuiltin' is not tested. Solution: At least test that it doesn't break things.
* patch 8.1.1472: add_termcap_entry() is not testedv8.1.1472Bram Moolenaar2019-06-061-1/+7
| | | | | Problem: Add_termcap_entry() is not tested. Solution: Add a simple test.
* patch 8.1.1471: 'background' not correctly set for 2-digit rgb termresponsev8.1.1471Bram Moolenaar2019-06-051-8/+36
| | | | | Problem: 'background' not correctly set for 2-digit rgb termresponse. Solution: Adjust what digit to use. (closes #4495)
* patch 8.1.1469: no test for checking the cursor style responsev8.1.1469Bram Moolenaar2019-06-051-0/+60
| | | | | Problem: No test for checking the cursor style response. Solution: Add a simple test. Also include the missing part of 8.1.1464.