Git Product home page Git Product logo

Comments (9)

PerBothner avatar PerBothner commented on May 31, 2024

What should it send? I tried xterm and gnome-terminal, and they do the same.

from domterm.

PerBothner avatar PerBothner commented on May 31, 2024

Do you have (1) another terminal emulator that sends a different character sequence for ctrl+tab, and (2) an application that recognizes this control sequence?

from domterm.

SunflowerFuchs avatar SunflowerFuchs commented on May 31, 2024

Sorry, i just noticed i got my buttons confused πŸ€¦β€β™‚οΈ
It's Shift+Tab, not Ctrl+Tab.

I've tried with zsh (switching through autocompletion), and micro (for decreasing indentation).

from domterm.

PerBothner avatar PerBothner commented on May 31, 2024

Please try the attached patch.

tab-patch.txt

from domterm.

SunflowerFuchs avatar SunflowerFuchs commented on May 31, 2024

That worked! It's working the same as in gnome-terminal now!
Thank you!

from domterm.

PerBothner avatar PerBothner commented on May 31, 2024

Cool. I pushed the fix.

from domterm.

PerBothner avatar PerBothner commented on May 31, 2024

Since you use zsh (at least on occasion), have you tried a DomTerm-aware prompt string? I'd be interested in your take on http://domterm.org/Shell-prompts.html#zsh-shell-prompt .

(I don't think I have a direct email for you.)

from domterm.

SunflowerFuchs avatar SunflowerFuchs commented on May 31, 2024

I've just tried it, it's definitely better than my attempt at understanding the escape sequences and building the prompt string myself πŸ˜€
But I'm not entirely sure what the \e]75;> \a does? And there's an \e[14u, so shouldn't there be a \e[13u too (if i understand your documentation correctly)?

And you can always send me a mail @ pascal(dot)pirschel(at)gmail(dot)com

from domterm.

PerBothner avatar PerBothner commented on May 31, 2024

The documentation for \e15u does say it it implicitly ends a prompt. It would probably be helpful to mention it under \e13u. And more generally clarify the different ways to end a prompt.
The \e]75;> \a looks like an error - I think it should be \e]122l> \a which specifies a "continuation prompt pattern" - a not-yet-checked-in feature to support multi-line input editing areas. It specifies (will specify) how to generate a prompt for lines after the first (like PS2).

from domterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.