aboutsummaryrefslogtreecommitdiff
path: root/vterm-module.c
AgeCommit message (Collapse)Author
2025-11-11Fix typo in `vterm-set-bold-highbright` variable nameMartin Geisler
The word “highbright” was spelled as “hightbright” in a few places.
2025-11-11Fix typos and grammar in commentsMartin Geisler
2025-09-29Fixes segfault when clicking error in compilation-shell-minor-modeBrian D. Caruso
2024-07-05don't garble partial multi-byte character after control sequenceYubao Liu
When use [lf](https://github.com/gokcehan/lf) to list files, emacs-libvterm may read partial multi-byte character, for example: $ echo -n '招聘' | hexdump -C 00000000 e6 8b 9b e8 81 98 ; get "招", control sequence and partial character (vterm--filter process "\xE6\x8B\x9B\e[14;111H\xE8") ; now full "聘" (vterm--filter process "\x81\x98") This will send "\xE8" to libvterm which is not a full character.
2024-03-18Fix typo: postion -> positionXiyue Deng
2024-01-02Differentiate foreground and background colorsIllia Ostapyshyn
Allow using different background and foreground colors for same ANSI index, analogously to how term-mode does it. Remove magical indices for underlined cells with default foreground and inverse-video cells with default background. Instead, pass relevant info to lisp function to handle these cases at higher level. * elisp.c, elisp.h (Fapply): New binding. (vterm_get_color): Add new argument for optional attributes. * vterm-module.c (cell_rgb_color): Pass relevant attributes to vterm_get_color. * vterm.el (vterm--get-color): Use foreground or background color of the face depending on received attributes. * README.md: Update documentation
2023-01-30init is_invalidated in Fvterm_newjixiuf
2022-11-17Support `sb_clear` callback if presentRussell McClellan
2022-08-30check libvterm version,make it compile with libvterm<0.2jixiuf
2022-08-27reimplement OSC 52 with VTermSelectionCallbacks from libvterm v0.2jixiuf
2022-04-27Revert "fixup, should close #584" "trim trailing whitespace"jixiuf
This reverts commit dccb6b23edb8c983eb2a3862fad3c9602c03b8df and 17f80c2259512db55003d78c894c308aaa2283e2
2022-04-18fixup, should close #584jixiuf
2022-04-16trim trailing whitespacejixiuf
2021-12-09add option vterm-set-bold-hightbrightjixiuf
2021-02-17run clang-format *.[ch]jixiuf
2021-02-17fixupjixiuf
2021-02-14Allow multiple elisp_code commands between redrawsBlahGeek
2021-02-07Correctly place cursor after EOLBlahGeek
If the cursor position is set beyond the EOL, insert spaces
2021-01-11fix cursor type after hide cursor and show againYubao Liu
This patch also adds support for cursor blink. VIM emits these ANSI escape sequences in insert mode: \x1b[?25h show cursor \x1b[?25l hide cursor
2021-01-05Merge pull request #473 from Dieken/fix-combining-characters-renderingjixiuf
fix rendering of combining characters
2021-01-04fix rendering of combining charactersYubao Liu
Some emoji characters are composed by some other emoji characters with zero width joiner, such as: 🏊🏻‍♀️ 🏊🏻‍♂️ 👩‍👩‍👧 👨‍👨‍👧‍👦 With this patch, these emoji characters can be correctly rendered by https://bitbucket.org/mituharu/emacs-mac.
2020-12-04vterm--update do not need give the unused meta shift controljixiuf
2020-12-04do not call insert/delete-char/delete-region directly.jixiuf
add function vterm--insert/vterm--delete-char/vterm--delete-region, add variables vterm--delete-region-function/vterm--insert-function/vterm--delete-char-function we can easily let bind these variables to change the behaviour of these functions
2020-11-13Rename vterm-disable-bold-font to vterm-disable-boldGabriele Bozzola
2020-11-13Minimize text propertiesGregory Heytings
2020-11-12make keys (`+`, `-`, `*`, `/`) on numpad work, should fix #437jixiuf
2020-11-12Support osc 52 Manipulate Selection Data.jixiuf
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
2020-11-12upgrade libvtermjixiuf
2020-09-16Merge pull request #390 from blahgeek/memleak-fixGabriele Bozzola
Fix memory leak on finalize, free term->lines
2020-09-05Fix verbs in some docstringsGabriele Bozzola
2020-08-29Fix memory leak on finalize, free term->linesBlahGeek
2020-06-13Add comments on prompt identificationGabriele Bozzola
2020-04-11[add] Commentary for the special color indexesZajcev Evgeny
2020-04-11[add] Custom faces for cells with underline/inverse-video attrsZajcev Evgeny
- `vterm-disable-underline' to resemble xterm's "XTerm*underLine: off" - `vterm-color-underline' to resemble xterm's "XTerm*colorULMode", "XTerm*colorUL" - `vterm-disable-inverse-video' to disable `:inverse-video' - `vterm-color-inverse-video' to resemble xterm's "XTerm*highlightColor"
2020-04-06Remove unused vars in vterm-moduleGabriele Bozzola
2020-03-27reimplements vterm--get-prompt-point with text property and bind ↵jixiuf
vterm-previous-prompt and vterm-next-prompt.
2020-03-20Fixing function def to remove unused vars.Mike Brumlow
2020-03-20clang-formatMike Brumlow
2020-03-19This commit fixes the newlines when copied and pasted.Mike Brumlow
This commit fixes up the newlines that were inserted for wrapping using the same approach as term.el does. It does so by adding a property to the '\n' chars that were inserted as a result of wrapping the terminal. When killing a region text will be passed through the filter-buffer-substring-function vterm--remove-fake-newlines removing the wrapped new lines by looking for the 'vterm-line-wrap property and removing the char that corresponds. If this change set is not up to project standards please work with me to correct any issues you find.
2020-03-14fix #241 use :extend face property for emacs 27 and laterjixiuf
2020-02-05handle recenter when decreasing the font size using the Emacs command ↵jixiuf
text-scale-decrease.
2020-02-05bind window_body_heightjixiuf
2020-02-05add vterm-disable-bold-font. close #79jixiuf
2020-02-03add func vterm--at-prompt-pjixiuf
2020-02-03bind vterm-reset-cursor-pointjixiuf
2020-02-03fix adjust_topline fix #222 again and this should fix #198jixiuf
2020-02-03Revert "fix adjust_topline fix #222"jixiuf
This reverts commit 855976e2283551db53617d4abb4c1399579a560d.
2020-02-01run clang-formatjixiuf
2020-02-01fix adjust_topline fix #222jixiuf
2020-01-28recognize keypad decimalpaulbdavis