mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* sample: replace TRUE, FALSE with true, false respectively.
a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>. [ruby-dev:30713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									380ea10dfa
								
							
						
					
					
						commit
						a8c748d277
					
				
					 7 changed files with 13 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -6,11 +6,11 @@ TIOCGETP = 0x40067408
 | 
			
		|||
TIOCSETP = 0x80067409
 | 
			
		||||
 | 
			
		||||
def cbreak ()
 | 
			
		||||
  set_cbreak(TRUE)
 | 
			
		||||
  set_cbreak(true)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
def cooked ()
 | 
			
		||||
  set_cbreak(FALSE)
 | 
			
		||||
  set_cbreak(false)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
def set_cbreak (on)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue