mirror of
				https://github.com/troglobit/editline.git
				synced 2025-10-31 08:18:11 +08:00 
			
		
		
		
	 67e9aa3f2b
			
		
	
	67e9aa3f2b
	
	
	
		
			
			This changeset fixes an old Debian patch that attempted to fix the display of 8-bit characters in the function emacs(). It accidentally crippled the function of M-d and M-DEL. The latter was however also broken by being mapped to wipe(), more on that below. The real fix is to set rl_meta_chars to 0 by default and in the tty_show() function, which tried to be smart and output control and meta characters (in the wrong order as well). Simply disabling the special code for output of control characters fixes 8-bit input. We also nuke the old and broken wipe() function that was mapped to M-DEL, instead we map that key binding to bk_kill_word(), which works.