mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 05:33:00 +00:00 
			
		
		
		
	Running "edit foo" will now create "foo.lua" if "foo" does not exist
This commit is contained in:
		| @@ -13,6 +13,11 @@ if fs.exists( sPath ) and fs.isDir( sPath ) then | ||||
|     return | ||||
| end | ||||
|  | ||||
| -- Create .lua files by default | ||||
| if not fs.exists( sPath ) and not string.find( sPath, "%." ) then | ||||
| 	sPath = sPath .. ".lua" | ||||
| end | ||||
|  | ||||
| local x,y = 1,1 | ||||
| local w,h = term.getSize() | ||||
| local scrollX, scrollY = 0,0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Ratcliffe
					Daniel Ratcliffe