eliminated unused setWindowSize files.
This commit is contained in:
		
							parent
							
								
									75ac9a46f3
								
							
						
					
					
						commit
						633b79fae4
					
				
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							| @ -1,4 +1,4 @@ | ||||
| .DEFAULT_GOAL := build | ||||
| .DEFAULT_GOAL := all | ||||
| 
 | ||||
| # seems superfluous
 | ||||
| #.PHONY: fmt vet build clean
 | ||||
| @ -20,3 +20,4 @@ buildwin: | ||||
| clean: | ||||
| 	rm -rf bin | ||||
| 
 | ||||
| all: build buildwin | ||||
|  | ||||
| @ -1,12 +0,0 @@ | ||||
| package main | ||||
| 
 | ||||
| import ( | ||||
| 	"os" | ||||
| 	"syscall" | ||||
| 	"unsafe" | ||||
| ) | ||||
| 
 | ||||
| func setWinsize(f *os.File, w, h int) { | ||||
| 	syscall.Syscall(syscall.SYS_IOCTL, f.Fd(), uintptr(syscall.TIOCSWINSZ), | ||||
| 		uintptr(unsafe.Pointer(&struct{ h, w, x, y uint16 }{uint16(h), uint16(w), 0, 0}))) | ||||
| } | ||||
| @ -1,7 +0,0 @@ | ||||
| package main | ||||
| 
 | ||||
| import "os" | ||||
| 
 | ||||
| func setWinsize(f *os.File, w, h int) { | ||||
| 	// Empty
 | ||||
| } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user