mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	Console example doesn't duplicate code in `console` component. Linenoise has been improved: it now has a parametrized command line length. It is now possible to paste data efficiently to the console. Note: this can only be done if the cursor is at the end of the line. Closes https://github.com/espressif/esp-idf/issues/7057
		
			
				
	
	
		
			19 lines
		
	
	
		
			640 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			640 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
menu "Example Configuration"
 | 
						|
 | 
						|
    config CONSOLE_STORE_HISTORY
 | 
						|
        bool "Store command history in flash"
 | 
						|
        default y
 | 
						|
        help
 | 
						|
            Linenoise line editing library provides functions to save and load
 | 
						|
            command history. If this option is enabled, initalizes a FAT filesystem
 | 
						|
            and uses it to store command history.
 | 
						|
 | 
						|
    config CONSOLE_MAX_COMMAND_LINE_LENGTH
 | 
						|
        int "Maximum command line length"
 | 
						|
        default 1024
 | 
						|
        help
 | 
						|
            This value marks the maximum length of a single command line. Once it is
 | 
						|
            reached, no more characters will be accepted by the console.
 | 
						|
 | 
						|
endmenu
 |