sqbi-q / v-echooff

Turn off input printing for V. Written in C/V.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

V Echo Off

Turn on/off input printing for V. Written in C/V.

Installation

Clone using Git or download ZIP.

git clone https://github.com/sqbi-q/v-echooff

Usage

Paste echo folder to your project, and then import module echo.

Project tree:

|-- echo
|   |-- echo.c
|   |-- echo.h
|   |-- echo.o
|   |-- echo.v
|   -- v.mod
-- example.v

example.v:

//our module
import echo

//for input
import os

fn main(){
	nick := os.input("Nickname: ")

	//MAKE INPUT INVISIBLE
	echo.display_input(false)
	pass := os.input("Password: ")

	//make input visible again
	echo.display_input(true)
}

About

Turn off input printing for V. Written in C/V.


Languages

Language:C 80.3%Language:V 15.5%Language:AMPL 4.2%