Skip to content
Snippets Groups Projects
Commit d6112950 authored by John Schmoller's avatar John Schmoller Committed by Wolfgang Denk
Browse files

cmd history: Match history buffer size to console buffer


Match history buffer size to console buffer size. History buffer size
was hard coded to 256, artificially limiting the command buffer size.
The history buffer now tracks CONFIG_SYS_CBSIZE.

Signed-off-by: default avatarJohn Schmoller <jschmoller@xes-inc.com>
parent 6475b9f9
No related branches found
No related tags found
No related merge requests found
...@@ -526,7 +526,7 @@ void reset_cmd_timeout(void) ...@@ -526,7 +526,7 @@ void reset_cmd_timeout(void)
#define CTL_CH(c) ((c) - 'a' + 1) #define CTL_CH(c) ((c) - 'a' + 1)
#define MAX_CMDBUF_SIZE 256 #define MAX_CMDBUF_SIZE CONFIG_SYS_CBSIZE
#define CTL_BACKSPACE ('\b') #define CTL_BACKSPACE ('\b')
#define DEL ((char)255) #define DEL ((char)255)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment