littlewhitecloud / TkTerminal

A terminal emulator widget written in Python using tkinter
MIT License
15 stars 2 forks source link

Highlight #34

Open littlewhitecloud opened 1 year ago

littlewhitecloud commented 1 year ago

Is your feature request related to a problem? Please describe. No Describe the solution you'd like Add highlight to the terminal widget, just like image

Additional context None

Moosems commented 1 year ago

What?

littlewhitecloud commented 1 year ago

I mean we can add a highlight to the terminal widget.

Moosems commented 1 year ago

Maybe an optional arg?

littlewhitecloud commented 1 year ago

Maybe an optional arg?

Maybe... But I prefer to use it as default.

Moosems commented 1 year ago

An arg to turn it off then? I personally want to be able to use a terminal as similar to the one that comes natively to Mac as possible but I like your ideas a lot and want this to be able to be added and able to be turned off for those who don't want it.

littlewhitecloud commented 1 year ago

An arg to turn it off then? I personally want to be able to use a terminal as similar to the one that comes natively to Mac as possible but I like your ideas a lot and want this to be able to be added and able to be turned off for those who don't want it.

I mean:


class Terminal(Frame):
    "abab"
    def __init__(self, abab, abab, abab, highlight: bool = True) # Default the highlight arg is true, but if you like, you can give false
   --snip--
littlewhitecloud commented 1 year ago

Fine, nvm, maybe we can put autohidescrollbar and highlight and other enhancements into an option to enable them.

littlewhitecloud commented 1 year ago

To some user, maybe they want to keep the terminal light. Or save memory.

Moosems commented 1 year ago

I personally want it as similar to the defaults you find on the average OS but allow more options as extras.