Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

linesnow

linesnow is a simple readline tool which supports

  1. terminal input & output
  2. moving the cursor left or right

It is my homework for PKU HPCFS Lecture_2 : c++ project programming.

example

  1. clone the repo
git clone https://github.com/snow276/linesnow.git
  1. compile to generate an executable file linesnow
cmake -B build
cmake --build build
  1. execute the executable file linesnow
./linesnow
  1. then you can type characters in the terminal, move the cursor left or right, press 'backspace' to delete characters, and press 'enter' to finish a line. linesnow echoes the line that you type.

limitations

  1. only supports single-line input
  2. doesn't support shortcut keys such as CTRL+D, CTRL+A

About

A simple readline tool (Homework of PKU HPCFS Lecture 2)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages