about summary refs log tree commit diff stats
path: root/091socket.cc
Commit message (Expand)AuthorAgeFilesLines
* 4266 - space for alloc-id in heap allocationsKartik Agaram2018-06-241-1/+1
* 4258 - undo 4257Kartik Agaram2018-06-151-1/+1
* 4257 - abortive attempt at safe fat pointersKartik Agaram2018-06-151-1/+1
* 3877Kartik K. Agaram2017-05-261-11/+11
* 3602Kartik K. Agaram2016-10-271-15/+13
* 3600 - allow reading a single byte from a socketKartik K. Agaram2016-10-271-3/+3
* 3595Kartik K. Agaram2016-10-251-1/+1
* 3586Kartik K. Agaram2016-10-241-0/+10
* 3585Kartik K. Agaram2016-10-241-11/+0
* 3584Kartik K. Agaram2016-10-241-2/+1
* 3583Kartik K. Agaram2016-10-241-5/+5
* 3582Kartik K. Agaram2016-10-241-3/+3
* 3581Kartik K. Agaram2016-10-241-2/+21
* 3579Kartik K. Agaram2016-10-241-1/+1
* 3571 - make 'read-from-socket' non-blockingKartik K. Agaram2016-10-231-11/+32
* 3563Kartik K. Agaram2016-10-231-1/+1
* 3562Kartik K. Agaram2016-10-221-6/+2
* 3561Kartik K. Agaram2016-10-221-2/+6
* 3523 - http client now workingKartik K. Agaram2016-10-201-7/+92
* 3522Kartik K. Agaram2016-10-191-1/+1
* 3519 - reading lots of data from a socketKartik K. Agaram2016-10-181-2/+11
* 3508Kartik K. Agaram2016-10-161-2/+2
* 3499Kartik K. Agaram2016-10-151-2/+1
* 3486Kartik K. Agaram2016-10-081-3/+3
* 3485Kartik K. Agaram2016-10-081-2/+2
* 3484Kartik K. Agaram2016-10-081-5/+5
* 3482Kartik K. Agaram2016-10-081-1/+1
* 3477Kartik K. Agaram2016-10-081-0/+5
* 3476Kartik K. Agaram2016-10-071-8/+8
* 3473Kartik K. Agaram2016-10-071-2/+2
* 3472Kartik K. Agaram2016-10-071-2/+2
* 3471Kartik K. Agaram2016-10-071-10/+17
* 3470Kartik K. Agaram2016-10-071-3/+4
* 3469Kartik K. Agaram2016-10-071-5/+5
* 3467Kartik K. Agaram2016-10-071-19/+18
* 3466Kartik K. Agaram2016-10-071-13/+14
* 3427Kartik K. Agaram2016-09-271-2/+5
* 3412Kartik K. Agaram2016-09-241-6/+8
* 3403Stephen Malina2016-09-211-28/+19
* 3399 - Update network primitives.Stephen Malina2016-09-181-16/+56
* 3349Kartik K. Agaram2016-09-141-2/+6
* 3323 - Add simple network primitivesStephen Malina2016-09-111-0/+166
class="bp">self.add_obj(self.notify) self.pager = Pager(self.win) self.add_obj(self.pager) def update_size(self): """resize all widgets""" UI.update_size(self) y, x = self.env.termsize notify_hei = self.notify.requested_height self.filelist_container.resize(1, 0, y - 2 - notify_hei, x) self.pman.resize(1, 0, y - 2 - notify_hei, x) self.pager.resize(1, 0, y - 2 - notify_hei, x) self.notify.resize(y - 1 - notify_hei, 0, notify_hei, x) self.titlebar.resize(0, 0, 1, x) self.status.resize(y - 1, 0, 1, x) self.console.resize(y - 1, 0, 1, x) def poke(self): UI.poke(self) if self.notify.requested_height != self.notify.hei: self.update_size() def display(self, *a, **k): return self.notify.display(*a, **k) def close_pager(self): self.pager.visible = False self.pager.focused = False self.filelist_container.visible = True def open_pager(self): self.pager.visible = True self.pager.focused = True self.filelist_container.visible = False def open_embedded_pager(self): self.filelist_container.open_pager() return self.filelist_container.pager def close_embedded_pager(self): self.filelist_container.close_pager() def open_console(self, mode, string=''): if self.console.open(mode, string): self.console.on_close = self.close_console self.console.visible = True self.status.visible = False def close_console(self): self.console.visible = False self.status.visible = True def open_pman(self): self.filelist_container.visible = False self.pman.visible = True self.pman.focused = True def close_pman(self): self.pman.visible = False self.filelist_container.visible = True self.pman.focused = False def scroll(self, relative): if self.main_filelist: self.main_filelist.scroll(relative) def throbber(self, string='.', remove=False): if remove: self.titlebar.throbber = type(self.titlebar).throbber else: self.titlebar.throbber = string # self.win.addnstr(0, self.env.termsize[1]-1, string, 1) def hint(self, text=None): self.status.override = text