fix: set tty mode if force_tty is true in config file#1515
fix: set tty mode if force_tty is true in config file#1515aristocratos merged 1 commit intoaristocratos:mainfrom
Conversation
cbc8362 to
4c55d8b
Compare
4c55d8b to
f7f73fd
Compare
deckstose
left a comment
There was a problem hiding this comment.
This doesn't account for --no-tty+ config file force_tty = true
Oh great catch!! I forgot that there was a no-tty cli option as well! Although this does make it trickier. The no-tty command line option would leave force_tty as true in the config file so the menu option would continue to be backwards if btop is launched with I have compensated for this by changing the
I could possibly figure out some changes to make the |
f7f73fd to
f19fd41
Compare
0f82d19 to
b9260bb
Compare
b9260bb to
0f6c688
Compare
Fixes: #1514
The
force_ttymenu option wasn't being applied when btop launchedeven though it was being saved in the config file.
This fixes this by applying tty mode if this option is set to true in the config file