Open amigojapan opened 1 week ago
Screenshot url is broken, error 404.
Screenshot url is broken, error 404.
Works on my end.
Anyway, it looks like what's being output there is a escape sequence
2::238:238:238m
looks a lot like a 24bit SGR code.
Although escape sequences usually use ;
as the group separator, not :
.
Can you please re-upload it to github?
There you go
Screenshot url is broken, error 404.
this is another copy of the image on a different image sharing system:
You can just paste an image into the GitHub comment textbox and it will be uploaded to GitHub's CDN.
by the way, I thought it may be problems with PS1 environment variable, but
echo $PS1 [\e[0;32m]\w[\e[0m] [\e[0;97m]$[\e[0m]
it does not work in VTM for termux, I did PS1=A but still the strange numbers appear
You can just paste an image into the GitHub comment textbox and it will be uploaded to GitHub's CDN.
sorry, I cant figure out how to do it on my android tablet, I will try when I get home...
sorry it took me so long: here it is
It seems that more and more terminal emulators and terminal programs supports colon (:
) as well as semicolon:
red=255 green=100 blue=0
printf "\x1b[38;2;${red};${green};${blue}m TRUECOLOR\n" # Semicolon separated, works in Termux
printf "\x1b[38:2:${red}:${green}:${blue}m TRUECOLOR\n" # Colon separated, does not work in Termux yet
See https://github.com/termstandard/colors?tab=readme-ov-file#truecolor-support-in-output-devices, where it can be seen that multiple terminal emulators also support using a colon as delimiter nowadays:
alacritty [delimiter: colon, semicolon] - written in Rust iTerm2 [delimiter: colon, semicolon] - since v3 version kitty [delimiter: colon,semicolon] - uses OpenGL konsole [delimiter: colon, semicolon] - https://bugs.kde.org/show_bug.cgi?id=107487 All libvte based terminals (since 0.36 version) [delimiter: colon, semicolon] [..]
While we could patch our own packages to use semicolon instead of colon, it won't help when ssh:ing to other environments and similar, so it's probably best to add support for colon separated parameters also in Termux - I'll be working on that.
It's closely related to the colon parameters for underlines that neovim has started to use - https://github.com/termux/termux-packages/issues/20620#issuecomment-2185826619.
Problem description
look at the prompt area in the terminal of this image https://x0.at/IQ6B.jpg the numbers there get in the way os uing the terminal properly...
What steps will reproduce the bug?
install vtm package run vtm under termux, and start a terminal on an amazon fire 10 HD plus
What is the expected behavior?
I expected to just see a normal prompt and not to be mixed with numbers
System information
echo $PS1 [\e[0;32m]\w[\e[0m] [\e[0;97m]\$[\e[0m]
it does not work in VTM for termux, I did PS1=A but still the strange numbers appear