CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

✨ Terminal Log Length Setting

Open austincondiff opened this issue 2 years ago • 5 comments

We need a setting to adjust log maximum length of a terminal. We use SwiftTerm.

Here you can see that it is included in TerminalOptions here as scrollBack: Int. It looks like it defaults to 500 lines.

austincondiff avatar Oct 01 '22 05:10 austincondiff

@austincondiff I'm fixing this in #1142, what should the minimum and maximum values be?

iggy890 avatar Mar 11 '23 19:03 iggy890

I was thinking of the minimum being 100 and the maximum being something like 1 million, I'm not sure what kind of command is gonna be using more than a million lines.

iggy890 avatar Mar 11 '23 19:03 iggy890

Default: 10,000 Minimum: 100 Maximum: 1,000,000

Terminal.app has this....

image

Limit to available memory, I wonder if this is possible?

austincondiff avatar Mar 11 '23 19:03 austincondiff

Default: 10,000 Minimum: 100 Maximum: 1,000,000

Terminal.app has this....

image

Limit to available memory, I wonder if this is possible?

That should be possible to do.

iggy890 avatar Mar 11 '23 19:03 iggy890

How are you doing this? The only way to change this value in SwiftTerm currently is when the view is made... we have to implement in SwiftTerm a feature similar to how the cursor style is being changed. I am currently working on this so that it can then be implemented in CodeEdit.

bombardier200 avatar Mar 11 '23 22:03 bombardier200