mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Add stub set_screen_size for other platforms
This commit is contained in:
		
							parent
							
								
									07f9cd96f3
								
							
						
					
					
						commit
						893900dc78
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -56,6 +56,9 @@ class Reline::GeneralIO
 | 
			
		|||
  def self.set_screen_size(rows, columns)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def self.set_winch_handler(&handler)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def self.prep
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -181,6 +181,9 @@ class Reline::Windows
 | 
			
		|||
    raise NotImplementedError
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def self.set_winch_handler(&handler)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def self.prep
 | 
			
		||||
    # do nothing
 | 
			
		||||
    nil
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue