zellij icon indicating copy to clipboard operation
zellij copied to clipboard

Feature: Support for OSC 133 ANSI escape sequence

Open a-kenji opened this issue 3 years ago • 1 comments

Related discussion: #892, #642

https://wezfurlong.org/wezterm/shell-integration.html :

OSC 133 Escape sequence to define Input, Output and Prompt zones

How could this be implemented?

a-kenji avatar Nov 25 '21 16:11 a-kenji

  • Hi, glad that I checked issues before raising a new one 😅
  • May I know the progress of this or whom to ask?
  • I'm on foot terminal and when I add below to my bash prompt foot terminal is able to recognise the prompts and support jumping to them
prompt_marker() {
    printf '\e]133;A\e\\'
}

set_ps1() {
    # my current prompt function
}

PS1="$(set_ps1)$(prompt_marker)"
  • Even with locked interface, it seems zellij isn't sending this sequence to the emulator (or zellij is handling it incorrectly 🤔)

leelavg avatar Aug 28 '22 03:08 leelavg