Coder Social home page Coder Social logo

Add WezTerm support about fig HOT 12 CLOSED

withfig avatar withfig commented on August 23, 2024 9
Add WezTerm support

from fig.

Comments (12)

mschrage avatar mschrage commented on August 23, 2024 6

@wez sorry I missed your response. We take it the cursor position directly from the ime (the offset @SeparateRecords mentioned has been resolved).

WezTerm is officially supported! To enable it, run fig install --input-method and follow the instructions.

from fig.

WingofaGriffin avatar WingofaGriffin commented on August 23, 2024 5

Helpful Links (just installed WezTerm today and so far I'm impressed (Alacritty with tab support!?!)

Seems overall like it should be doable with some Lua scripting, and is encouraged by the maintainer.

from fig.

amjerm avatar amjerm commented on August 23, 2024 3

+1. I have been using Wezterm for a while and love it. It would be great to be able to use Fig with it.

from fig.

wez avatar wez commented on August 23, 2024 3

Nice! Yes, IME is default enabled on all platforms since the most recent release. I've updated the docs on that page to make them clearer and internally consistent!

from fig.

mschrage avatar mschrage commented on August 23, 2024 2

@wez pushed an updated that improves Wezterm's IME support on macOS!

(It also seems like it is now turned on by default as well, but the docs have conflicting information.)

Screen Shot 2022-03-26 at 6 02 07 PM

I've added experimental support which should be go out in the next release of Fig.

from fig.

cocoonkid avatar cocoonkid commented on August 23, 2024 2

Awesome! Came here to suggest this. Wezterm is the only one supporting Ligatures through all platforms and I tried them all, was in love with alacritty for a looooong time but Wezterm beats them all.

Thanks so much for adding support!

from fig.

mschrage avatar mschrage commented on August 23, 2024

Any idea if Wezterm offers any plugin functionality? In order to add support for a terminal emulator, we need to be able to...

  1. locate the cursor position
  2. determine which tab/pane the user is typing in

from fig.

raguay avatar raguay commented on August 23, 2024

from fig.

clo4 avatar clo4 commented on August 23, 2024

Positioning seems a little broken for me - is there an easy fix?

image

from fig.

mschrage avatar mschrage commented on August 23, 2024

Hmm that is interesting! I wonder if this is based on the version (notice how you have native tabs and I don't).

Edit: Confirmed that that location of caret changes with Wezterm v0.1.0.

from fig.

wez avatar wez commented on August 23, 2024

@mschrage: FWIW, the version number in Cargo.toml isn't used for wezterm: wezterm --version has the correct version info.
Is the caret location taken directly from what wezterm sends to the IME?

from fig.

cocoonkid avatar cocoonkid commented on August 23, 2024

Amazing ! Thanks!

from fig.

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.