mirror of
				https://github.com/red-data-tools/YouPlot.git
				synced 2025-11-04 11:38:10 +08:00 
			
		
		
		
	Revert "Show message when No input data provided"
Uplot should expect cases where data takes a long time to reach the standard input.
This mechanism is not appropriate.
This reverts commit c40c59a21d.
			
			
This commit is contained in:
		@@ -35,14 +35,8 @@ module Uplot
 | 
			
		||||
        exit
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      watchman = Thread.new do
 | 
			
		||||
        sleep(1)
 | 
			
		||||
        warn 'No input file or piped data provided. Waiting for standard input:'
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      # Sometimes the input file does not end with a newline code.
 | 
			
		||||
      while (input = Kernel.gets(nil))
 | 
			
		||||
        watchman.kill
 | 
			
		||||
        input.freeze
 | 
			
		||||
        @raw_inputs << input
 | 
			
		||||
        @data = Preprocessing.input(input, delimiter, headers, transpose)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user