mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-19 22:55:29 +00:00
- Check for multicell chars in the erased range before looking for them cell by cell, with a branch free check that reads only the word of each cell containing the multicell flag. The common case is a line with no multicell chars. - Add a fast path that parses CSI codes of the common form, an optional private marker, numeric params separated by ; or : and the final byte, in a single pass, falling back to the generic CSI parser for anything else. - Do not call the UTF-8 decoder for no text when an escape code directly follows another one, and start parsing CSI codes right after ESC [ rather than in the next iteration of the parse loop. This speeds up the CSI benchmark by 25% to 30% and the truecolor benchmarks by ~10%. A differential test compares the fast path and the generic CSI parser on random input, and a new test covers erasing parts of multicell chars, which no existing test did. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| AnnotationMono-VF-subset.ttf | ||
| atexit.py | ||
| base.py | ||
| CascadiaCode-Regular.otf | ||
| check_build.py | ||
| child.py | ||
| choose_files.py | ||
| clipboard.py | ||
| ComfyCode-Regular.ttf | ||
| command_palette.py | ||
| completion.py | ||
| crypto.py | ||
| datatypes.py | ||
| dnd.py | ||
| dnd_kitten.py | ||
| docks.py | ||
| edit_in_kitty.py | ||
| file_transmission.py | ||
| FiraCode-Medium.otf | ||
| fonts.py | ||
| glfw.py | ||
| gr.py | ||
| GraphemeBreakTest.json | ||
| graphics.py | ||
| hints.py | ||
| iosevka-regular.ttf | ||
| iterable_arguments.py | ||
| keys.py | ||
| layout.py | ||
| LiberationMono-Regular.ttf | ||
| main.py | ||
| mouse.py | ||
| multicell.py | ||
| notifications.py | ||
| notify.py | ||
| open_actions.py | ||
| options.py | ||
| panels.py | ||
| parser.py | ||
| program_status.py | ||
| remote_control.py | ||
| resize_edge.py | ||
| resize_fraction.py | ||
| screen.py | ||
| search_query_parser.py | ||
| selection_drag.py | ||
| sessions.py | ||
| shell_integration.py | ||
| shm.py | ||
| single_instance.py | ||
| slang.py | ||
| ssh.py | ||
| tab_bar.py | ||
| tab_drop.py | ||
| tab_workspaces.py | ||
| tui.py | ||
| twemoji_smiley-cff2_colr_1.otf | ||
| utmp.py | ||