Skip to content
/ c Public

Simple calculator in terminal using Urwid

License

Notifications You must be signed in to change notification settings

lbarchive/c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c (urcalc)

c is a simple calculator in terminal using Urwid, created solely for big buttons to click with mouse button, not meant to be having complex arithmetic operations, just basic +-*/.

https://bytebucket.org/livibetter/c/raw/tip/c.png

This project's name is "c," however, in order to register on PyPI, it uses "urcalc" as the PyPI package name. c is also the command to invoke the calculator.

You can install via pip:

$ pip install c
$ c

Beside LMB (Left Mouse Button) to press button on screen, there are also keyboard controls as listed below:

key action
Enter or Space press focused button
arrow keys navigate through buttons
0 to 9 enter the digit
Backspace remove lowest digit
N change sign
. begin fractional part
= get answer
C, Escape clear
Q quit

This project is licensed under the MIT License, see COPYING.

About

Simple calculator in terminal using Urwid

Resources

License

Stars

Watchers

Forks

Packages

No packages published