Skip to content

feat: install host terminfo inside the VM on $TERM change#12

Open
jbpenrath wants to merge 1 commit into
sylvinus:mainfrom
jbpenrath:feat/host-terminfo
Open

feat: install host terminfo inside the VM on $TERM change#12
jbpenrath wants to merge 1 commit into
sylvinus:mainfrom
jbpenrath:feat/host-terminfo

Conversation

@jbpenrath
Copy link
Copy Markdown

Non-standard terminals (xterm-ghostty, xterm-kitty, …) have no terminfo entry in the base VM image, which breaks zsh/ZLE key decoding (backspace, arrow keys, …) as soon as the user shells in. Push the host's compiled terminfo into the VM via tic, cached per-VM so the limactl shell roundtrip only happens when $TERM actually changes.

@jbpenrath jbpenrath force-pushed the feat/host-terminfo branch 2 times, most recently from 2261cfd to aa0d398 Compare April 23, 2026 23:31
Comment thread agent-vm.sh Outdated
Non-standard terminals (xterm-ghostty, xterm-kitty, …) have no terminfo
entry in the base VM image, which breaks zsh/ZLE key decoding (backspace,
arrow keys, …) as soon as the user shells in. Push the host's compiled
terminfo into the VM via tic, cached per-VM so the limactl shell roundtrip
only happens when $TERM actually changes.
@jbpenrath jbpenrath force-pushed the feat/host-terminfo branch from aa0d398 to 027d721 Compare April 29, 2026 19:08
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