adamyg / grief

GRIEF - BRIEF clone
http://grief.sourceforge.net/
Other
33 stars 9 forks source link

Status bar 'command field' font is always dark #49

Closed denlun closed 1 month ago

denlun commented 1 month ago

Not really sure if this is actually a problem with the majority of the terminal programs... Have tried several different terminals and when a dark theme is used you cannot read the command field. The main issue is that many terminals do not honor the system color theme (at least in Gnome). Gnome Terminal has to have theme set to light in Preferences (or leave it default if the system theme is light). Rxvt defaults to a light theme so no issues out of the box. Terminator defaults to dark, can't read. Terminology defaults to dark, can't read. Alacritty defaults to dark, can't read. Kitty defaults to dark, can't read. Funnily enough Cool Retro Term gets it right even tho it defaults to dark... and with the amber default it looks pretty much like Brief did back in the day on my Ericsson PC... And another thing I noticed while trying out the terminals is that in many of them Grief tended to put the horizontal scroll bar one third of the screen up and with some odd line lengths, this corrected itself when resizing the window.

adamyg commented 1 month ago

"And another thing I noticed while trying out the terminals is that in many of them Grief tended to put the horizontal scroll bar one third of the screen up and with some odd line lengths, this corrected itself when resizing the window."

screen captures plus terminal and colorscheme details; note: F10/colorscheme and F10/dispinfo, shall detail. thanks

adamyg commented 1 month ago

Under WIN32/256, 16-colorscheme's are being incorrectly mapped.

denlun commented 1 month ago

Here is Terminator where Grief has been started without resizing the window. terminator-grief

Note the lines with a '+' in the vertical scroll and also the horizontal scroll. As soon as you resize the window it's corrected.

adamyg commented 1 month ago

Not familiar with, https://terminator-gtk3.readthedocs.io/en/latest/, what is the TERM setting in use? Wondering what are the supported control-escapes, including "Device Attributes" report. Run grief with -d enabled and forward the opening section of the log detailing the terminal.

Suspect its related to column wrap rules, as a test run with the terminal width > 80., Reference: https://www.gnu.org/software/termutils/manual/termcap-1.3/html_node/termcap_27.html

denlun commented 1 month ago

I verified the > 80 using GNOME Terminal since it happens there as well and seems if you set the startup width to 81 or greater the problem doesn't occur. The TERM in GNOME Terminal and Terminator is the same: xterm-256color grief.log