Skip to content

Conversation

@ghoulr
Copy link
Contributor

@ghoulr ghoulr commented Jan 17, 2026

  • Added hardwareCursor top-level setting (configurable via /settings) to enable hardware cursor positioning for IME support.
  • Added setUseHardwareCursor() in @mariozechner/pi-tui and wire it to /settings so changes apply immediately without restart.

}

// Migrate useHardwareCursor -> hardwareCursor
if ("useHardwareCursor" in settings && !("hardwareCursor" in settings)) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would there need to be a migration? useHardwareCursor was never in settings.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, missed this AI slop in my cleanup job, GPT-5.2 created some complicated shit before, will check and clean again soon.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@badlogic
Copy link
Owner

@ghoulr ah shit I fucked up. When I tested the change to the env var, I must have worked off of an old tui build, thinking hiding the cursor would still make IME work. Sorry!

Left a small review, please amend.

@ghoulr ghoulr force-pushed the feat/add-hardware-cursor-settings branch from 83da838 to 268d597 Compare January 17, 2026 10:05
@badlogic
Copy link
Owner

Cheers, I've manually merged this and made some more adjustments.

  • setting now only governs cursor visibility
  • hardware cursor is now always positioned for IME, irrespective if it is visible or not. That was actually a bug...

@badlogic badlogic closed this Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants