[vim/vim] add <OSC> and <xOSC> key (PR #18799)

19 views
Skip to first unread message

Foxe Chen

unread,
Nov 22, 2025, 11:28:52 PMĀ (7 days ago)Ā Nov 22
to vim/vim, Subscribed

Same as #18660 but fixed the tests.

Sample test script

vim9script

def g:DoOSCTest(): void
    echoraw("\<Esc>]52;;?\<Esc>\\")

    while getcharstr(-1) != "\<xOSC>"
    endwhile
    echom v:termosc
enddef

You can view, comment on, or merge this pull request online at:

Ā Ā https://github.com/vim/vim/pull/18799

Commit Summary

File Changes

(6Ā files)

Patch Links:

—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799@github.com>

Foxe Chen

unread,
Nov 23, 2025, 12:23:49 AMĀ (7 days ago)Ā Nov 23
to vim/vim, Push

@64-bitman pushed 1 commit.

—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/before/06fba66193d05f5acb8386ebcddc618c9f5ad8eb/after/379f5754796b262d010a328a417fbd790bbb6436@github.com>

Foxe Chen

unread,
Nov 23, 2025, 1:26:09 AMĀ (7 days ago)Ā Nov 23
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#18799)

Okay I'm going to close this (for the 2nd time šŸ˜„ ) because I cannot figure why it is breaking the tests. I will probably just create a custom function for this

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/c3567542920@github.com>

Foxe Chen

unread,
Nov 23, 2025, 1:26:09 AMĀ (7 days ago)Ā Nov 23
to vim/vim, Subscribed

Closed #18799.

—
Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/issue_event/21119926544@github.com>

Foxe Chen

unread,
Nov 23, 2025, 1:46:49 AMĀ (7 days ago)Ā Nov 23
to vim/vim, Subscribed

Reopened #18799.

—
Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/issue_event/21119989000@github.com>

Foxe Chen

unread,
Nov 23, 2025, 1:48:13 AMĀ (7 days ago)Ā Nov 23
to vim/vim, Push

@64-bitman pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/before/379f5754796b262d010a328a417fbd790bbb6436/after/f33773ef7cfe54ac3dccf5b25538ba42312d4569@github.com>

Foxe Chen

unread,
Nov 23, 2025, 1:49:17 AMĀ (7 days ago)Ā Nov 23
to vim/vim, Push

@64-bitman pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/before/f33773ef7cfe54ac3dccf5b25538ba42312d4569/after/86eef0b2ce1395a4122fa5517e909431b803c984@github.com>

Christian Brabandt

unread,
Nov 23, 2025, 1:19:50 PMĀ (6 days ago)Ā Nov 23
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18799)

there are still some code style issues

—
Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/c3568214452@github.com>

Foxe Chen

unread,
Nov 23, 2025, 2:21:06 PMĀ (6 days ago)Ā Nov 23
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#18799)

I'm currently just doing rough work so I'll make this a draft

—
Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/c3568257818@github.com>

Foxe Chen

unread,
Nov 23, 2025, 8:18:04 PMĀ (6 days ago)Ā Nov 23
to vim/vim, Push

@64-bitman pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/before/86eef0b2ce1395a4122fa5517e909431b803c984/after/13abf6d1469f895f69adfd14a8d50ed1bec8cba9@github.com>

Foxe Chen

unread,
Nov 23, 2025, 9:37:26 PMĀ (6 days ago)Ā Nov 23
to vim/vim, Push

@64-bitman pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/before/13abf6d1469f895f69adfd14a8d50ed1bec8cba9/after/4997aa0258b4c738a90c886f5b4cd6c04dece005@github.com>

Foxe Chen

unread,
Nov 24, 2025, 5:17:44 AMĀ (6 days ago)Ā Nov 24
to vim/vim, Push

@64-bitman pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/before/4997aa0258b4c738a90c886f5b4cd6c04dece005/after/86f4b0ac8f322d2a7960c5e0a15dcde21c01c964@github.com>

Foxe Chen

unread,
Nov 24, 2025, 6:14:11 AMĀ (6 days ago)Ā Nov 24
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#18799)

Okay it looks like the tests are passing now.

—
Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/c3568829472@github.com>

Foxe Chen

unread,
Nov 24, 2025, 11:47:06 PMĀ (5 days ago)Ā Nov 24
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 661204a fix osc handling on windows

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/before/86f4b0ac8f322d2a7960c5e0a15dcde21c01c964/after/661204ab64616e89543970c4f8304c509782b607@github.com>

Foxe Chen

unread,
Nov 25, 2025, 12:07:07 AMĀ (5 days ago)Ā Nov 25
to vim/vim, Push

@64-bitman pushed 0 commits.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/before/661204ab64616e89543970c4f8304c509782b607/after/86f4b0ac8f322d2a7960c5e0a15dcde21c01c964@github.com>

Christian Brabandt

unread,
Nov 27, 2025, 3:57:53 PMĀ (2 days ago)Ā Nov 27
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18799)

Thanks

—
Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/c3587256131@github.com>

Christian Brabandt

unread,
Nov 27, 2025, 3:58:04 PMĀ (2 days ago)Ā Nov 27
to vim/vim, Subscribed

Closed #18799 via c531501.

—
Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18799/issue_event/21230120191@github.com>

Reply all
Reply to author
Forward
0 new messages