mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-03 17:24:29 +00:00 
			
		
		
		
	build(terminfo): include user capabilities in comments (#28066)
Add -x flag to infocmp, so that comments match the content.
This commit is contained in:
		@@ -77,7 +77,7 @@ for term in $sorted_terms; do
 | 
			
		||||
    continue
 | 
			
		||||
  fi
 | 
			
		||||
  printf '\n'
 | 
			
		||||
  infocmp -L -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' '
 | 
			
		||||
  infocmp -L -x -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' '
 | 
			
		||||
  printf 'static const int8_t %s[] = {\n' "${entries[$term]}"
 | 
			
		||||
  printf '  '
 | 
			
		||||
  od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ','
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user