peterh / liner

Pure Go line editor with history, inspired by linenoise
MIT License
1.04k stars 132 forks source link

Convert constants to variables #33

Closed ElPincheTopo closed 9 years ago

ElPincheTopo commented 9 years ago

I know one of the objectives of the project is to keep it simple and limit the configuration options in order to do so. But it would be very useful for some users to be able to change the HistoryLimit and KillRingMax constants. What do you think about it?

peterh commented 9 years ago

Does "Some users" include you, or are you talking about hypothetical users? If it's a feature for imaginary users, it's not worth the extra complexity for no benefit.

If it's something you'd actually use, I would be open to a pull request that: