aboutsummaryrefslogtreecommitdiffstats
path: root/ihe.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2016-05-24 00:00:45 +0100
committerFreeArtMan <dos21h@gmail.com>2016-05-24 00:00:45 +0100
commit60f08b0a4676943651bc7b66cb8531325b1c6132 (patch)
tree5cea9737ea510f579cefa6a4712bf8caf0577da7 /ihe.c
parentcb141140579d796ae5cafe6da52b4f0b87be6a84 (diff)
downloadihe-60f08b0a4676943651bc7b66cb8531325b1c6132.tar.gz
ihe-60f08b0a4676943651bc7b66cb8531325b1c6132.zip
Added resize c
Diffstat (limited to 'ihe.c')
-rw-r--r--ihe.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/ihe.c b/ihe.c
index a2769f5..9e0cb20 100644
--- a/ihe.c
+++ b/ihe.c
@@ -392,16 +392,17 @@ cmd_table_t tab[] = {
{"open", c_open},
{"close", c_close},
{"info", c_info},
- //{"seek", c_seek},
- //{"pos", c_pos},
+ {"seek", c_seek},
+ {"pos", c_pos},
{"size", c_size},
{"blk", c_blk},
- //{"read", c_read},
- //{"dump", c_dump},
- //{"dumpx", c_dumpx},
- //{"dumps", c_dumps},
+ {"read", c_read},
+ {"dump", c_dump},
+ {"dumpx", c_dumpx},
+ {"dumps", c_dumps},
//{"write", c_write},
//{"writes", c_writes},
+ {"resize", c_resize},
{"flags", c_flags},
{"manifesto", c_manifesto},
{"ls", c_ls},
@@ -431,6 +432,7 @@ int main( int argc, char **argv )
//init basic buffer
g_buf = buf_init();
buf_size( g_buf, DEFAULT_BLK_SIZE );
+ buf_zero( g_buf );
struct term_screen ts; memset( &ts, 0, sizeof(ts) );