The new_GetLine(size_t linelen, size_t histlen), Histlen size is not limited Edit

Asked by Tejashwini

I am new user of libtecla.
I am stuck at somepoint.

In my code,
_gl = new_GetLine(2048, 4096);

I had set the size of history to be 4096 bytes
But, the problem is that the limit is not set.
I mean if the no of history commands exceeds also
all history commands are displayed without any limit.

Is it a known issue? Please tel me the way forward
Thank you in advance.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1
Revision history for this message
Tejashwini (tejashwinikatageri) said :
#2

Thank you so much Hampl. I had used the same solution of limiting the history by lines and not by bytes.
But, someone told me that we should solve the problem by finding the root cause and not just limiting the lines in history.
Can you please suggest me something.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.