Skip to content

Speed up newline insertion - #879

Merged
HalFrgrd merged 3 commits into
masterfrom
speed_up_newline_insertion
Aug 4, 2026
Merged

HalFrgrd merged 3 commits into
masterfrom
speed_up_newline_insertion

Conversation

@HalFrgrd

@HalFrgrd HalFrgrd commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Trick I learnt from ble.sh. You don't actually need to query the cursor pos. just print the tag with a bunch of spaces after it. go to start of line, then clear to end of line. If the spaces wrap around to the next line, then you will see "[flyline isnerted newline]". if not, then it will be cleared.

@HalFrgrd
HalFrgrd merged commit ac04e5c into master Aug 4, 2026
@HalFrgrd
HalFrgrd deleted the speed_up_newline_insertion branch August 4, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant