-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Have you checked closed issues? (https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed)
Child of #872 which is an open issue
Have you checked against the most recent version of Textual? (https://pypi.org/search/?q=textual)
yes
Consider discussions!
Issues are for actionable items only.
If Textual crashes or behaves differently from the docs, then submit an issue.
If you want to know how to do something, or you have a suggestion for a new feature, then open a discussion (https://github.com/Textualize/textual/discussions/).
For realtime help, join our discord server (https://discord.gg/Enf6Z3qhVr)
The bug
Alt key based modifiers do not register in textual, even though other CLI tools do.
> textual diagnose
Textual Diagnostics
Versions
| Name | Value |
|---|---|
| Textual | 6.4.0 |
| Rich | 14.2.0 |
Python
| Name | Value |
|---|---|
| Version | 3.13.8 |
| Implementation | CPython |
| Compiler | MSC v.1944 64 bit (AMD64) |
| Executable | C:\Users\NSPG911\Git\NSPC911\rovr.venv\Scripts\python.exe |
Operating System
| Name | Value |
|---|---|
| System | Windows |
| Release | 11 |
| Version | 10.0.26200 |
Terminal
| Name | Value |
|---|---|
| Terminal Application | WezTerm (20251005-110037-db5d7437) |
| TERM | xterm-256color |
| COLORTERM | truecolor |
| FORCE_COLOR | Not set |
| NO_COLOR | Not set |
Rich Console options
| Name | Value |
|---|---|
| size | width=124, height=33 |
| legacy_windows | True |
| min_width | 1 |
| max_width | 124 |
| is_terminal | False |
| encoding | cp1252 |
| max_height | 33 |
| justify | None |
| overflow | None |
| no_wrap | False |
| highlight | None |
| markup | None |
| height | None |
textual just doesn't seem to handle alt+ inputs, but an editor like helix can, which is weird. it can do it without the kitty keyboard protocol, and on terminals like alacritty, rio, wezterm, windows terminal and warp, which textual just isn't able to handle.
testing only wezterm, rio and warp here