Commit Graph

33 Commits

Author SHA1 Message Date
sloum 38e7ccea52 Adds license info and copyright statement to each source file 2022-10-08 20:43:47 +00:00
asdf 2f8eedded7 Handle input errors while returning to correct terminal mode 2020-09-08 13:41:52 +10:00
Hannu Hartikainen e3e2afc4fc Replace calls to `stty` with syscalls
- Move termios-related functionality to its own package
- Reimplement stty calls using ioctl calls
- Add per-platform constants for linux and non-linux because the ioctl
  enums are different. The enums in Darwin seem to come from BSD and so
  I'm assuming they might also work for other operating systems. If not,
  we'll need to add other build-constrained const files.

This code has been tested on Darwin and will be tested on Linux before
2020-05-24 09:25:38 +03:00
sloum cdfec887fd Solves the issue where line wrapping is not turned back on 2020-04-14 18:26:03 +00:00
Sloom Sloum Sluom IV 6c634415d8 Merge branch 'window-title' of sloum/bombadillo into develop 2020-01-04 14:26:21 -05:00
sloumdrone f68996decf Beginnings of text search... semi-working 2019-12-16 22:18:28 -08:00
sloumdrone 4182619a78 Adds flag for displaying title and adds documentation 2019-12-16 19:40:52 -08:00
sloumdrone aeee577e24 Adds title change escapes to cui 2019-12-15 11:00:39 -08:00
sloumdrone fde463be0f Removes unnecessary variable from exit routine 2019-12-05 22:01:22 -08:00
sloumdrone 6f0be3b4e4 Adds visible error handling for bad exits and improves exit code use 2019-12-05 21:46:31 -08:00
sloumdrone 3a33320ec5 Removed dead code and empty file 2019-11-10 14:14:45 -08:00
asdf e32ba04a1a Missed the for some documentation 2019-10-24 13:42:38 +11:00
asdf a393b00ad1 Handle more signals without breaking terminal 2019-10-24 13:25:31 +11:00
sloumdrone e68dc3b414 Fixes merge conflicts and removes dead files 2019-09-23 09:02:48 -07:00
sloumdrone 19f210f243 Renames a cui function to be more appropriate and adds command line flag for version number 2019-09-20 09:18:16 -07:00
sloumdrone fdaf6312ab Adds a terminal mode change to disallow line wrapping by the terminal, also fixes a resize scroll issue and disallows escape characters in text files 2019-09-19 20:29:17 -07:00
sloumdrone 21fe5714a3 Bookmarks can be scrolled when focused 2019-09-16 19:38:07 -07:00
sloumdrone bccca61ec2 Some level of screen draw now works 2019-09-11 22:53:36 -07:00
sloumdrone a6d1f45be8 Added clarifying comments 2019-09-10 20:23:44 -07:00
asdf ea096af511 simple line wrapping that does not mangle spaces 2019-09-10 20:19:45 +10:00
asdf 3e8587f039 using strings.SplitAfter in wrapLines 2019-09-07 23:04:20 +10:00
asdf fb2130518c first attempt on line wrapping indents issue 2019-09-04 22:57:26 +10:00
Justin Overfelt 509e5d81a1 allow graceful fallback when we don't have an alternate screen 2019-05-07 16:12:16 -04:00
Justin Overfelt ee0f2e3e9b change openBrowser to use conditional compilation rather than a runtime switch 2019-05-06 18:33:18 -04:00
sloumdrone 288e1acf62 Merge branch 'master' of 2019-05-03 20:59:47 -07:00
sloumdrone 34db0ca9ee Now uses alternate screen buffer if available 2019-05-03 20:58:55 -07:00
Justin Overfelt 27c1e0572a change cbreak functions to panic rather than return an error on failure 2019-05-01 18:25:45 -04:00
Justin Overfelt 6ea5754e57 improve error handling 2019-04-30 20:22:55 -04:00
Justin Overfelt 701753b890 Gofmt all code, switch to canonical function naming, add a go.mod file for use with the latest go version 2019-04-28 15:46:47 -04:00
sloumdrone 88898c5b4a Added focus shifting between windows redid how draws work 2019-04-10 22:29:10 -07:00
sloumdrone 8fb26329ee Fixed fatal error on load as well as osx compatible stty command structure 2019-03-18 20:11:02 -07:00
sloumdrone 80ab652448 Apparently added a ridiculous mess since last commit 2019-03-17 09:58:39 -07:00
sloumdrone a28fc00550 Functional browser added notes 2019-03-04 23:05:43 -08:00