aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tui
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.0743: giving error messages is not flexibleJames McCoy2021-11-01
| | | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes vim/vim#3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts. https://github.com/vim/vim/commit/f9e3e09fdc93be9f0d47afbc6c7df1188c2a5a0d
* refactor: uncrustify #16090dundargoc2021-10-29
|
* refactor: remove space after starDundar Göc2021-10-19
|
* refactor: format all C files under nvim/ #15977dundargoc2021-10-12
| | | | | | | | * refactor: format all C files under nvim * refactor: disable formatting for Vim-owned files: * src/nvim/indent_c.c * src/nvim/regexp.c * src/nvim/regexp_nfa.c * src/nvim/testdir/samples/memfile_test.c
* refactor: format header files with uncrustify #15877dundargoc2021-10-09
| | | | | | * refactor: format header files with uncrustify * fixup(justin): skip formatting of terminfo_defs.h * fixup: force winsock2 to be included first * fixup: simplify disable/enable directive to "uncrustify:off/on"
* fix(tui): remove dead code #15929erw72021-10-06
| | | | | Before #15889, we used our fork of libuv which supports Windows 7/8. After #15889, we use upstream libuv, which does not support Windows 7 and lacks mouse/altbuf support for Windows 8 console.
* Refactor/uncrustify (#15790)dundargoc2021-09-29
| | | | | | | | | | | | | * refactor: format with uncrustify * fixup(dundar): fix functions comments * fixup(dundar): remove space between variable and ++/-- * fixup(dundar): better workaround for macro attributes This is done to be able to better use uncrustify rules for macros * fixup(justin): make preprocessors follow neovim style guide
* refactor: format files with uncrustify #15663dundargoc2021-09-14
|
* fix: "redundant cast to the same type" #15662dundargoc2021-09-14
| | | Apply "redundant cast to the same type" fix from clangd.
* refactor: format tui/input.c with uncrustify (#15661)dundargoc2021-09-14
|
* refactor: format tui.c with uncrustify (#15640)dundargoc2021-09-14
|
* chore: PVS/V751: ignore warning #15153dundargoc2021-07-25
| | | | There's already an ignore directive but it's placed on the wrong line. This commit should correct it.
* chore(PVS/V751): tui.c, Parameter is not usedJustin M. Keyes2021-07-18
| | | | | False positive. Documentation for grid_scroll says "`cols` is always zero, reserved for future use".
* chore: use codespell to spell check #15016dundargoc2021-07-07
|
* Revert "tui: improve support for tmux, GNU Screen" (#14786)Érico Nogueira Rolim2021-06-30
| | | | | | | | | | | | | | * Revert "tui: improve support for tmux, GNU Screen" This reverts commit c266c2f36ea56220268d2b19364e28815e338c2f. This commit broke neovim under tmux, where it "types" the background string as input to the terminal. Fixing this with neovim as-is requires changing tmux keybindings or TERM settings, which has to be done by every single user, therefore a fix should happen on neovim's side. Fixes #14298 * tui: fix code lints.
* fix(tui): Stop sending extra parameter for save/restore titleJames McCoy2021-05-18
| | | | Closes #14573
* tui: improve support for tmux, GNU Screenerw72021-03-11
| | | | Wrapping it in DCS allows the get_bg features to work with tmux, GNU Screen.
* tui: fix possibility of evaluating uninitialized variables (#13987)erw72021-02-22
|
* Use abort() instead of assert(false) for things that should never happenJames McCoy2021-01-31
| | | | | | | | assert() is compiled out for release builds, but we don't want to continue running in these impossible situations. This also resolves the "implicit fallthrough" warnings for the asserts in switch cases.
* test,unit: Change test according to change of bg color response processingerw72020-11-20
| | | | | Adjust the test for handle_background_color() according to bd0275182b1c1b14c43dc4fc7e9f9da05071e56c.
* TUI: fix processing of bg color responseerw72020-11-20
| | | | | | | | Terminal responses may be fragmented. In that case, the problem that was not processed normally and was processed in the same way as user input is corrected. fixes #11393.
* TUI: fix bracket paste getting stuckerw72020-11-20
| | | | fixes #11699, #11991.
* tui/input: Add S- modifier for chords with capital ASCIIJames McCoy2020-11-16
| | | | | | | | termkey_strfkey() formats ctrl-l and ctrl-shift-l as <C-l> and <C-L>, respectively. Nvim wants the latter to look like <C-S-L>, since <C-l> and <C-L> are interpreted the same way. This is only required when the Ctrl modifier is present.
* Understand Escape as another name for EscJames McCoy2020-11-16
| | | | | | | | This allows us to remove special-case handling of Esc in forward_modified_utf8(), which was always sending "<Esc>" to nvim even when there were modifiers present. Closes #12584
* tui: fix problem with uv_tty_set_mode failing due to signalerw72020-10-13
| | | | fixes #12322.
* tui: fix problem that TTY does not go into raw modeerw72020-10-12
| | | | fixes #13073.
* UI: fix cursor not displayed after hiding and un-hiding #12811erw72020-09-12
| | | | | | | | | | | | | | | | | | | | | | - TUI: Fix a case where the cursor was not displayed after hiding the cursor and then setting it to be displayed again. - Change to reset everything before setting guicursor. fixes #12800 close #12811 Steps to reproduce: nvim -u NORC :set termguicolors :hi nCursor guifg=red guibg=red :hi iCursor guifg=green guibg=green :hi cCursor guifg=blue guibg=blue :set guicursor=n:block-nCursor,i:hor25-iCursor,c:ver25-cCursor :set guicursor-=c:ver25-cCursor Actual behaviour: Cursor is a blue vertical. Expected behaviour: Cursor should be the default color block.
* nvim__screenshotBjörn Linse2020-09-05
|
* Revert "tui: improve support for GNU Screen (#12098)"erw72020-08-27
| | | | | | | This reverts commit f3ffe0b325170dd214b80e371bee5a56b7054940. Sending a control sequence to the host terminal, wrapped in DCS, causes problems because it changes the state of the host terminal outside the screen's control. This change will therefore be reverted.
* Revert "tui: Fix italics when $TERM is screen in tmux #12199"erw72020-08-27
| | | | This reverts commit 9d0222ee3e232be859c3c70e6681f7156b5ac9d5.
* tui: fix pvs/v728Jan Edmund Lazo2020-08-15
|
* tui.c: augment_terminfo: remove unused colorterm argument (#12602)Daniel Hahler2020-07-19
| | | It is unused since 8898793ad.
* win/TUI: enable mouse on ConEmu and vtpcon without vtierw72020-05-26
|
* tui: Fix italics when $TERM is screen in tmux #12199erw72020-04-28
| | | | | | Tmux uses smso to display italics when the default-terminal is screen, screen-*. That's not the display the user wants, so change it to do the same display as before f3ffe0b32. fixes #12193.
* tui: improve support for GNU Screen (#12098)erw72020-04-26
| | | | | | | | Wrapping it in DCS allows the following features to work with GNU Screen. - Changing the cursor style. - bracketed paste. - focus reporting.
* TUI: block signals on suspend #12180Kei Kamikawa2020-04-25
| | | fix #8075
* tui: Don't call uv_write without output (#12146)erw72020-04-20
| | | Fixes #11653, #11990. Check for cursor visibility to toggle uv_write call.
* Merge pull request #12005 from erw7/fix-screen-vsplitJames McCoy2020-04-15
|\ | | | | Closes #11998
| * Fix screen terminal family issueserw72020-03-12
| |
| * Fix splitting issue on gnu screenerw72020-03-12
| | | | | | | | | | gnu screen does not have smglr, but it inherits smglr from xterm and splitting will cause drawing problems. So disable smglr.
* | TUI: support setting cursor color in tmux (#12100)Thomas Churchman2020-04-14
| |
* | TUI: do not use "nvim_get_option" in tui threaderw72020-03-21
|/ | | | | | Since "nvim_get_option" is executed on the tui thread as a C function instead of msgpack-rpc, it accesses global variables that may change on the main thread.
* TUI: reset background color before scroll #11909Jakub Łuczyński2020-02-23
| | | fixes #11893
* vim-patch:8.1.1201: output of :command is hard to readJan Edmund Lazo2020-02-16
| | | | | | | Problem: Output of :command is hard to read. Solution: Make some columns wider, some narrower. Truncate the command when listing all. https://github.com/vim/vim/commit/725310d89e1ba268bf410472b7de054c6c260161
* Add stdin, stdout replacement functionserw72020-01-17
|
* Remove (void) hacks, Mark unused attrsJan Edmund Lazo2020-01-08
|
* TUI: can make the cursor transparent #11519Matthieu Coudron2019-12-19
| | | when setting 'guicursor' highlight blend=100.
* terminfo_is_bsd_console: fallback to falseDaniel Hahler2019-12-01
| | | | Ref: https://github.com/neovim/neovim/commit/ab7da4c53138768#r36200515
* TUI: use stdio names instead of magic numbers #11410erw72019-11-17
|
* terminal: enable pass through indexed colors to TUIBjörn Linse2019-11-02
|