Giter Site home page Giter Site logo

Comments (5)

God-damnit-all avatar God-damnit-all commented on August 27, 2024

Wait a second, no I didn't. For some reason the nightly's wizterm --version command just shows 20191124 even though it was compiled on 20191215?

from wezterm.

wez avatar wez commented on August 27, 2024

wezterm 20191124-233250-cb9fd7d-110-g8950c6c
(not sure why the date is 20191124, this is supposed to be the nightly?)

That's all produced by git; the important thing is the last bit because it corresponds to the actual git commit hash but with a g in front: 8950c6c

[[font.font]]
# The font family name.  The default is "Menlo" on macOS,
# "Consolas" on Windows and "monospace" on X11 based systems.
# "Fira Code" to enjoy ligatures without buying an expensive font!
font_system = "FontKitAndFreeType"
font_dir = ["fonts"]
family = "myfont"

I think there might be some toml weirdness going on. The font_system option was broken up into three new options in master; these are all supposed to go at the top level of the config file, rather than in a font.font section:

  • font_locator - which tells us how to find the system fonts. I think you're using the new ConfigDirsOnly value for this. But otherwise I'd recommend omitting it.
  • font_rasterizer - just leave this as the default
  • font_shaper - just leave this as the default

font_dir should be named font_dirs and belongs at the top level also. Fixing that will show the "warning" level output that should show that your font contains "Fira Code".

So I think your config should look like this:

font_dirs = ["fonts"]

# Optional, but makes it very easy to spot a problem!
font_locator = "ConfigDirsOnly"

[[font.font]]
family = "Fira Code"

ERROR wezterm::font::parser > Did not locate a font match for FontAttributes { family: "Segoe UI", bold: false, italic: false }

I also saw these on my windows box; these come from some hard coded fallback logic and I think I need to finesse it a bit. You can safely ignore them!

from wezterm.

God-damnit-all avatar God-damnit-all commented on August 27, 2024

Aha, I see. So I actually did have a working configuration before. The only reason I changed family to myfont was because I figured I should go off what the commit message for 1e9d357 said for troubleshooting purposes. I didn't realize font_system and font_dir were both deprecated.

(Sidenote: You're probably already aware, but font_dirs = ["."] works on Windows to specify the wezterm.exe directory.)

Any idea what ERROR term::terminalstate > unhandled TerminalMode 25 refers to?

from wezterm.

wez avatar wez commented on August 27, 2024

Any idea what ERROR term::terminalstate > unhandled TerminalMode 25 refers to?

Sounds like the DECTCEM sequence that controls whether the cursor is visible or not; https://www.xfree86.org/current/ctlseqs.html has a list of codes.

We don't currently do anything about this sequence, so we log it as unhandled.
I'll add this to #7

from wezterm.

github-actions avatar github-actions commented on August 27, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

from wezterm.

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.