A few (hopefully minor) feature requests #134

Open
opened 3 months ago by Barbaross · 2 comments

I was curoius to know if you had interest in implementing these features:

  1. Change the background/foreground color of the prompt
  2. A password mode (hides input characters and probably does not accept STDIN
  3. A placeholder for the command to be run for the -T oprion. E.g. fuzzel ... -T 'foot -T {cmd} -e {cmd}'
I was curoius to know if you had interest in implementing these features: 1) Change the background/foreground color of the prompt 2) A password mode (hides input characters and probably does not accept STDIN 3) A placeholder for the command to be run for the `-T` oprion. E.g. `fuzzel ... -T 'foot -T {cmd} -e {cmd}'`
Owner

Change the background/foreground color of the prompt

Doable. The difficult part here is determining the boundaries of the prompt (for the background color). Foreground color is easy, obviously.

A password mode (hides input characters and probably does not accept STDIN

This has already been implemented in master, but not yet released.

A placeholder for the command to be run for the -T oprion. E.g. fuzzel ... -T 'foot -T {cmd} -e {cmd}'

Sure, this makes sense. I'd just like to note that you can workaround this by writing a script. The use case you mention, can be done with the script mentioned here: https://codeberg.org/dnkl/foot/wiki#user-content-foot-e-cmd-does-not-set-the-window-title-to-cmd

> Change the background/foreground color of the prompt Doable. The difficult part here is determining the boundaries of the prompt (for the background color). Foreground color is easy, obviously. > A password mode (hides input characters and probably does not accept STDIN This has already been implemented in master, but not yet released. > A placeholder for the command to be run for the -T oprion. E.g. fuzzel ... -T 'foot -T {cmd} -e {cmd}' Sure, this makes sense. I'd just like to note that you can workaround this by writing a script. The use case you mention, can be done with the script mentioned here: https://codeberg.org/dnkl/foot/wiki#user-content-foot-e-cmd-does-not-set-the-window-title-to-cmd
dnkl added the
enhancement
label 3 months ago
Poster

Doable. The difficult part here is determining the boundaries of the prompt (for the background color). Foreground color is easy, obviously.

Hmmm, maybe line height/ascii height could be for the vertical boundaries? As for horizontal padding, a reasonable hard-coded value could be fine.

This has already been implemented in master, but not yet released.

Hooray!

Sure, this makes sense. I'd just like to note that you can workaround this by writing a script. The use case you mention, can be done with the script mentioned here: https://codeberg.org/dnkl/foot/wiki#user-content-foot-e-cmd-does-not-set-the-window-title-to-cmd

Oh nice! I didn't realize there was a wiki section. I'm content with this!

> Doable. The difficult part here is determining the boundaries of the prompt (for the background color). Foreground color is easy, obviously. Hmmm, maybe line height/ascii height could be for the vertical boundaries? As for horizontal padding, a reasonable hard-coded value could be fine. > This has already been implemented in master, but not yet released. Hooray! > Sure, this makes sense. I'd just like to note that you can workaround this by writing a script. The use case you mention, can be done with the script mentioned here: https://codeberg.org/dnkl/foot/wiki#user-content-foot-e-cmd-does-not-set-the-window-title-to-cmd Oh nice! I didn't realize there was a wiki section. I'm content with this!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: dnkl/fuzzel#134
Loading…
There is no content yet.