aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 00:58:41 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 00:58:41 +0530
commitf7a61840a3a7f54cbeabf80fd60b4dc3c8097daf (patch)
treef8d4c72fb83968c5ca2b801479492ae6234be692 /st.c
parent1d10c72d94c52f5268d1be70275643653337d638 (diff)
downloadst-f7a61840a3a7f54cbeabf80fd60b4dc3c8097daf.tar.gz
st-f7a61840a3a7f54cbeabf80fd60b4dc3c8097daf.tar.bz2
st-f7a61840a3a7f54cbeabf80fd60b4dc3c8097daf.zip
Applied patch st-focus
Diffstat (limited to 'st.c')
-rw-r--r--st.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/st.c b/st.c
index da2b7e5..0a86ebb 100644
--- a/st.c
+++ b/st.c
@@ -203,7 +203,6 @@ static void tsetscroll(int, int);
static void tswapscreen(void);
static void tsetmode(int, int, const int *, int);
static int twrite(const char *, int, int);
-static void tfulldirt(void);
static void tcontrolcode(uchar );
static void tdectest(char );
static void tdefutf8(char);
@@ -441,20 +440,6 @@ tlinehistlen(int y)
return i;
}
-int
-tlinehistlen(int y)
-{
- int i = term.col;
-
- if (TLINE_HIST(y)[i - 1].mode & ATTR_WRAP)
- return i;
-
- while (i > 0 && TLINE_HIST(y)[i - 1].u == ' ')
- --i;
-
- return i;
-}
-
void
selstart(int col, int row, int snap)
{